]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
erofs: mark inodes without acls in erofs_read_inode()
authorGao Xiang <hsiangkao@linux.alibaba.com>
Wed, 28 Jan 2026 03:54:08 +0000 (11:54 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Wed, 28 Jan 2026 07:38:37 +0000 (15:38 +0800)
commit1729f7c67544b31569836f48f142e8f7c0952b26
treea3cc926d6de56c39392dff8967bf5d4ce01242c4
parentd86d7817c042dd651d47b1873f4b6eaefbedd890
erofs: mark inodes without acls in erofs_read_inode()

Similar to commit 91ef18b567da ("ext4: mark inodes without acls in
__ext4_iget()"), the ACL state won't be read when the file owner
performs a lookup, and the RCU fast path for lookups won't work
because the ACL state remains unknown.

If there are no extended attributes, or if the xattr filter
indicates that no ACL xattr is present, call cache_no_acl() directly.

Reviewed-by: Hongbo Li <lihongbo22@huawei.com>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/inode.c
fs/erofs/xattr.c
fs/erofs/xattr.h