aboutsummaryrefslogtreecommitdiffstats
path: root/module/os/linux/zfs/policy.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/os/linux/zfs/policy.c')
-rw-r--r--module/os/linux/zfs/policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/os/linux/zfs/policy.c b/module/os/linux/zfs/policy.c
index 5a52092bb..ab00d2ae1 100644
--- a/module/os/linux/zfs/policy.c
+++ b/module/os/linux/zfs/policy.c
@@ -61,7 +61,7 @@ priv_policy_ns(const cred_t *cr, int capability, int err,
static int
priv_policy(const cred_t *cr, int capability, int err)
{
- return (priv_policy_ns(cr, capability, err, NULL));
+ return (priv_policy_ns(cr, capability, err, cr->user_ns));
}
static int