aboutsummaryrefslogtreecommitdiff
path: root/module/os/linux/zfs/zfs_acl.c
diff options
context:
space:
mode:
authorMatthew Macy <mmacy@freebsd.org>2019-11-01 17:19:11 +0000
committerBrian Behlendorf <behlendorf1@llnl.gov>2019-11-01 17:19:11 +0000
commit156f74fc03d6187017a695c6c84a03f650f626b4 (patch)
treec8fb31d19f5a4330f2e2709ae9c78fac5218e99a /module/os/linux/zfs/zfs_acl.c
parentc4ae27c763acc2b29747e98a4318be9516c43e70 (diff)
downloadsrc-156f74fc03d6187017a695c6c84a03f650f626b4.tar.gz
src-156f74fc03d6187017a695c6c84a03f650f626b4.zip
Diffstat (limited to 'module/os/linux/zfs/zfs_acl.c')
-rw-r--r--module/os/linux/zfs/zfs_acl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/module/os/linux/zfs/zfs_acl.c b/module/os/linux/zfs/zfs_acl.c
index b53bd3556352..67efee175d22 100644
--- a/module/os/linux/zfs/zfs_acl.c
+++ b/module/os/linux/zfs/zfs_acl.c
@@ -1570,7 +1570,7 @@ zfs_acl_chmod(zfsvfs_t *zfsvfs, uint64_t mode, zfs_acl_t *aclp)
list_insert_tail(&aclp->z_acl, newnode);
}
-void
+int
zfs_acl_chmod_setattr(znode_t *zp, zfs_acl_t **aclp, uint64_t mode)
{
mutex_enter(&zp->z_acl_lock);
@@ -1581,6 +1581,8 @@ zfs_acl_chmod_setattr(znode_t *zp, zfs_acl_t **aclp, uint64_t mode)
mutex_exit(&zp->z_lock);
mutex_exit(&zp->z_acl_lock);
ASSERT(*aclp);
+
+ return (0);
}
/*