]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fs/ntfs3: update mode in xattr when ACL can be reduced to mode
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Thu, 30 Oct 2025 20:49:27 +0000 (23:49 +0300)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Mon, 17 Nov 2025 08:09:14 +0000 (09:09 +0100)
commit266ab6d02aa34586baac68e2f986085f48efd96f
tree484bef1cbdabf65a5015142e5a1bb430dc1b50e6
parentd8e1e0d33d975952e65945c9dd68c76c7f946435
fs/ntfs3: update mode in xattr when ACL can be reduced to mode

If a file's ACL can be reduced to standard mode bits, update mode
accordingly, persist the change, and update the cached ACL. This keeps
mode and ACL consistent and avoids redundant xattrs.

Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/xattr.c