]> www.infradead.org Git - users/jedix/linux-maple.git/commit
erofs: add erofs_sb_free() helper
authorGao Xiang <hsiangkao@linux.alibaba.com>
Thu, 12 Dec 2024 13:35:01 +0000 (21:35 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Thu, 12 Dec 2024 16:26:27 +0000 (00:26 +0800)
commite2de3c1bf6a0c99b089bd706a62da8f988918858
treefe359a248377dcf23dd3364485496760ddd8ac95
parent6d1917045ef4f584593ad30b3dbb887d95fc331f
erofs: add erofs_sb_free() helper

Unify the common parts of erofs_fc_free() and erofs_kill_sb() as
erofs_sb_free().

Thus, fput() in erofs_fc_get_tree() is no longer needed, too.

Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20241212133504.2047178-1-hsiangkao@linux.alibaba.com
fs/erofs/super.c