]> git.ipfire.org Git - thirdparty/linux.git/commit
erofs: call erofs_exit_ishare() before rcu_barrier()
authorGao Xiang <hsiangkao@linux.alibaba.com>
Wed, 17 Jun 2026 03:14:59 +0000 (11:14 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Wed, 17 Jun 2026 04:01:34 +0000 (12:01 +0800)
commit289cf458a69ccda4a4aee2b0274d233d415814ca
treee00b75fec89db5c3a6ccc28c8b1c25b377b9396f
parentb05fb89900e6386b4e56bfe7dddede7becf0db75
erofs: call erofs_exit_ishare() before rcu_barrier()

Ensure all inode free callbacks have completed before
destroying the inode slab cache.

Fixes: 5ef3208e3be5 ("erofs: introduce the page cache share feature")
Reviewed-by: Hongbo Li <lihongbo22@huawei.com>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/super.c