summaryrefslogtreecommitdiff
path: root/fs/f2fs/verity.c
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2020-12-25 16:52:27 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2021-01-27 15:20:00 -0800
commit17232e830afb800acdcc22ae8980bf9d330393ef (patch)
tree34ea7dfc5aef6aeadfc4dd47e2819de6eec82a33 /fs/f2fs/verity.c
parenta28d9aa1a2c7c774c38f2da1a662434bc29cb98e (diff)
f2fs: enhance to update i_mode and acl atomically in f2fs_setattr()
Previously, in f2fs_setattr(), we don't update S_ISUID|S_ISGID|S_ISVTX bits with S_IRWXUGO bits and acl entries atomically, so in error path, chmod() may partially success, this patch enhances to make chmod() flow being atomical. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/verity.c')
0 files changed, 0 insertions, 0 deletions