summaryrefslogtreecommitdiff
path: root/rust/alloc/collections/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorAndrey Albershteyn <aalbersh@kernel.org>2026-01-21 20:36:43 +0100
committerChristian Brauner <brauner@kernel.org>2026-01-23 15:55:40 +0100
commit9396bfdacb5aa2bcb3d2242b0de527e7d4f8a3cd (patch)
treeca6921d64452ea901af92cbdc31d52333019a979 /rust/alloc/collections/git@git.tavy.me:linux.git
parentfc94368bcee555b2cc44c2f4e7c4fcbb50404cd3 (diff)
fs: reset read-only fsflags together with xflags
While setting file attributes, the read-only flags are reset for ->xflags, but not for ->flags if flag is shared between both. This is fine for now as all read-only xflags don't overlap with flags. However, for any read-only shared flag this will create inconsistency between xflags and flags. The non-shared flag will be reset in vfs_fileattr_set() to the current value, but shared one is past further to ->fileattr_set. Reported-by: Eric Biggers <ebiggers@kernel.org> Signed-off-by: Andrey Albershteyn <aalbersh@kernel.org> Link: https://patch.msgid.link/20260121193645.3611716-1-aalbersh@kernel.org Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions