linux-stable/fs/erofs
Jia Zhu f27bafeb9f erofs: use kill_anon_super() to kill super in fscache mode
[ Upstream commit 1015c1016c ]

Use kill_anon_super() instead of generic_shutdown_super() since the
mount() in erofs fscache mode uses get_tree_nodev() and associated
anon bdev needs to be freed.

Fixes: 9c0cc9c729 ("erofs: add 'fsid' mount option")
Suggested-by: Jingbo Xu <jefflexu@linux.alibaba.com>
Signed-off-by: Jia Zhu <zhujia.zj@bytedance.com>
Reviewed-by: Jingbo Xu <jefflexu@linux.alibaba.com>
Link: https://lore.kernel.org/r/20220918043456.147-2-zhujia.zj@bytedance.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-10-24 09:57:02 +02:00
..
compress.h erofs: introduce z_erofs_fixup_insize 2021-12-29 06:42:07 +08:00
data.c Page cache changes for 5.19 2022-05-24 19:55:07 -07:00
decompressor.c erofs: avoid consecutive detection for Highmem memory 2022-08-17 15:14:16 +02:00
decompressor_lzma.c erofs: wake up all waiters after z_erofs_lzma_head ready 2022-08-17 15:14:16 +02:00
dir.c erofs: update ctx->pos for every emitted dirent 2022-08-17 15:14:21 +02:00
erofs_fs.h erofs: scan devices from device table 2022-05-18 00:11:21 +08:00
fscache.c erofs: fix error return code in erofs_fscache_{meta_,}read_folio 2022-09-15 10:47:16 +02:00
inode.c erofs: fix order >= MAX_ORDER warning due to crafted negative i_size 2022-10-24 09:57:02 +02:00
internal.h erofs: fix pcluster use-after-free on UP platforms 2022-09-15 10:47:16 +02:00
Kconfig erofs: register fscache volume 2022-05-18 00:11:19 +08:00
Makefile erofs: register fscache volume 2022-05-18 00:11:19 +08:00
namei.c erofs: make filesystem exportable 2022-05-17 23:48:54 +08:00
pcpubuf.c erofs: get rid of ->lru usage 2021-10-25 08:22:59 +08:00
super.c erofs: use kill_anon_super() to kill super in fscache mode 2022-10-24 09:57:02 +02:00
sysfs.c erofs: add 'fsid' mount option 2022-05-18 00:11:21 +08:00
tagptr.h erofs: clean up file headers & footers 2021-06-08 00:41:24 +08:00
utils.c erofs: fix deadlock when shrink erofs slab 2021-11-23 14:58:16 +08:00
xattr.c erofs: use meta buffers for xattr operations 2022-01-04 23:47:08 +08:00
xattr.h erofs: use meta buffers for xattr operations 2022-01-04 23:47:08 +08:00
zdata.c Changes since last update: 2022-06-01 11:54:29 -07:00
zdata.h erofs: get rid of `struct z_erofs_collection' 2022-05-31 23:13:59 +08:00
zmap.c erofs: clean up z_erofs_extent_lookback 2022-03-17 00:08:48 +08:00
zpvec.h erofs: fix unsafe pagevec reuse of hooked pclusters 2021-11-08 10:02:10 +08:00