Skip to content

Commit

Permalink
Fixed parameter passing error when calling zfs_acl_chmod
Browse files Browse the repository at this point in the history
Follow up to 99495ba which
accidentally introduce this regression.

Reviewed by: Brian Behlendorf <[email protected]>
Signed-off-by: Quartz <[email protected]>
Closes openzfs#15907
  • Loading branch information
yyhran authored Feb 26, 2024
1 parent af4da5c commit 5600dff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/os/linux/zfs/zfs_acl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1921,8 +1921,8 @@ zfs_acl_ids_create(znode_t *dzp, int flag, vattr_t *vap, cred_t *cr,
zfsvfs->z_acl_inherit != ZFS_ACL_PASSTHROUGH &&
zfsvfs->z_acl_inherit != ZFS_ACL_PASSTHROUGH_X)
trim = B_TRUE;
zfs_acl_chmod(vap->va_mode, acl_ids->z_mode, B_FALSE,
trim, acl_ids->z_aclp);
zfs_acl_chmod(S_ISDIR(vap->va_mode), acl_ids->z_mode,
B_FALSE, trim, acl_ids->z_aclp);
}
}

Expand Down

0 comments on commit 5600dff

Please sign in to comment.