Skip to content
Commit 1015c101 authored by Jia Zhu's avatar Jia Zhu Committed by Gao Xiang
Browse files

erofs: use kill_anon_super() to kill super in fscache mode



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: 9c0cc9c7 ("erofs: add 'fsid' mount option")
Suggested-by: default avatarJingbo Xu <jefflexu@linux.alibaba.com>
Signed-off-by: default avatarJia Zhu <zhujia.zj@bytedance.com>
Reviewed-by: default avatarJingbo Xu <jefflexu@linux.alibaba.com>
Link: https://lore.kernel.org/r/20220918043456.147-2-zhujia.zj@bytedance.com


Signed-off-by: default avatarGao Xiang <hsiangkao@linux.alibaba.com>
parent 1dd73601
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment