]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fs: send fsnotify_xattr()/IN_ATTRIB from vfs_fileattr_set()/chattr(1)
authorAhelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Mon, 8 Dec 2025 22:20:24 +0000 (23:20 +0100)
committerJan Kara <jack@suse.cz>
Mon, 15 Dec 2025 09:19:52 +0000 (10:19 +0100)
commit6f7c877cc397ba3c6d8ba44d4a604df3d4182eec
treefaf036be7cf3cd90c8db756ac0b845289b3f567e
parent635bc4def026a24e071436f4f356ea08c0eed6ff
fs: send fsnotify_xattr()/IN_ATTRIB from vfs_fileattr_set()/chattr(1)

Currently it seems impossible to observe these changes to the file's
attributes. It's useful to be able to do this to see when the file
becomes immutable, for example, so emit IN_ATTRIB via fsnotify_xattr(),
like when changing other inode attributes.

Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Link: https://patch.msgid.link/iyvn6qjotpu6cei5jdtsoibfcp6l6rgvn47cwgaucgtucpfy2s@tarta.nabijaczleweli.xyz
Signed-off-by: Jan Kara <jack@suse.cz>
fs/file_attr.c