-
Christian Brauner authored
In 4053d250 ("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: 4053d250 ("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>
e40df428