diff options
author | Brian Behlendorf <[email protected]> | 2009-07-09 15:08:06 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2009-07-09 15:08:06 -0700 |
commit | 24662d61d980a6e99cdf89b8d92afe7573fcd50d (patch) | |
tree | 04d9f9618dc0593b80a98bd62286dccab995c61a | |
parent | 17d368fa5f5b560117f631d8378c4cb8ade282a0 (diff) | |
parent | 2f4e745a09caad6f687bdfdb05844439b505f52f (diff) |
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch
-rw-r--r-- | module/zfs/zfs_ioctl.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/module/zfs/zfs_ioctl.c b/module/zfs/zfs_ioctl.c index 46f907143..0b90ce789 100644 --- a/module/zfs/zfs_ioctl.c +++ b/module/zfs/zfs_ioctl.c @@ -1608,8 +1608,8 @@ zfs_set_prop_nvlist(const char *name, nvlist_t *nvl) */ if (zfs_prop_user(propname) && nvpair_type(elem) == DATA_TYPE_STRING) { - if (error = zfs_secpolicy_write_perms(name, - ZFS_DELEG_PERM_USERPROP, CRED())) + if ((error = zfs_secpolicy_write_perms(name, + ZFS_DELEG_PERM_USERPROP, CRED()))) return (error); continue; } @@ -1623,8 +1623,8 @@ zfs_set_prop_nvlist(const char *name, nvlist_t *nvl) perm = ZFS_DELEG_PERM_USERQUOTA; else perm = ZFS_DELEG_PERM_GROUPQUOTA; - if (error = zfs_secpolicy_write_perms(name, - perm, CRED())) + if ((error = zfs_secpolicy_write_perms(name, + perm, CRED()))) return (error); continue; } @@ -1864,8 +1864,8 @@ zfs_check_userprops(char *fsname, nvlist_t *nvl) nvpair_type(elem) != DATA_TYPE_STRING) return (EINVAL); - if (error = zfs_secpolicy_write_perms(fsname, - ZFS_DELEG_PERM_USERPROP, CRED())) + if ((error = zfs_secpolicy_write_perms(fsname, + ZFS_DELEG_PERM_USERPROP, CRED()))) return (error); if (strlen(propname) >= ZAP_MAXNAMELEN) |