HomeFreeBSD

Fix znode group permission different from acl mask

Description

Fix znode group permission different from acl mask

Zp->z_mode is set at the same time inode->i_mode
is being changed. This has the effect of keeping both
in sync without relying on zfs_znode_update_vfs.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: yanping.gao <yanping.gao@xtaotech.com>
Closes #13581

Details

Provenance
gaoyanping <yanping.gao@xtaotech.com>Authored on Jun 29 2022, 8:38 PM
GitHub <noreply@github.com>Committed on Jun 29 2022, 8:38 PM
Parents
rG325096545a47: FreeBSD: only define B_FALSE/B_TRUE if NEED_SOLARIS_BOOLEAN is not set
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGe7d90362e5d5: Fix znode group permission different from acl mask (authored by gaoyanping <yanping.gao@xtaotech.com>).Jun 29 2022, 8:38 PM