summaryrefslogtreecommitdiff
path: root/fs/ext2/file.c
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2022-09-23 10:19:34 +0200
committerChristian Brauner (Microsoft) <brauner@kernel.org>2022-10-19 10:30:52 +0200
commit4053d2500beb0ca1e0757665af9e31da249a7a52 (patch)
treea8eea5747d2f28371f77017486780048a302b6be /fs/ext2/file.c
parent9abf2313adc1ca1b6180c508c25f22f9395cc780 (diff)
orangefs: rework posix acl handling when creating new filesystem objects
When creating new filesytem objects orangefs used to create posix acls after it had created and inserted a new inode. This made it necessary to all posix_acl_chmod() on the newly created inode in case the mode of the inode would be changed by the posix acls. Instead of doing it this way calculate the correct mode directly before actually creating the inode. So we first create posix acls, then pass the mode that posix acls mandate into the orangefs getattr helper and calculate the correct mode. This is needed so we can simply change posix_acl_chmod() to take a dentry instead of an inode argument in the next patch. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Diffstat (limited to 'fs/ext2/file.c')
0 files changed, 0 insertions, 0 deletions