summaryrefslogtreecommitdiffstats
path: root/fs/posix_acl.c
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2022-11-12 22:36:42 +0100
committerChristian Brauner (Microsoft) <brauner@kernel.org>2022-11-13 10:27:52 +0100
commite40df4281b86d5f7c1615dd9eda597675340a8d3 (patch)
tree0bdc81c2b072f095ed0d9cf00e3fc5155a7658a7 /fs/posix_acl.c
parent5b52aebef8954cadff29918bb61d7fdc7be07837 (diff)
downloadlinux-stable-e40df4281b86d5f7c1615dd9eda597675340a8d3.tar.gz
linux-stable-e40df4281b86d5f7c1615dd9eda597675340a8d3.tar.bz2
linux-stable-e40df4281b86d5f7c1615dd9eda597675340a8d3.zip
orangefs: fix mode handling
In 4053d2500beb ("orangefs: rework posix acl handling when creating new filesystem objects") we tried to precalculate the correct mode when creating a new inode. However, this leads to regressions when creating new filesystem objects. Even if we precalculate the mode we still need to call __orangefs_setattr() to perform additional checks and we also need to update the mode of ACL_TYPE_ACCESS acls set on the inode. The patch referenced above regressed that. Restore that part of the old behavior and remove the mode precalculation as it doesn't get us anything anymore. Fixes: 4053d2500beb ("orangefs: rework posix acl handling when creating new filesystem objects") Reported-by: Mike Marshall <hubcap@omnibond.com> Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Diffstat (limited to 'fs/posix_acl.c')
0 files changed, 0 insertions, 0 deletions