-
- Downloads
erofs: initialize packed inode after root inode is assigned
[ Upstream commit cb9bce79 ] As commit 8f7acdae ("staging: erofs: kill all failure handling in fill_super()"), move the initialization of packed inode after root inode is assigned, so that the iput() in .put_super() is adequate as the failure handling. Otherwise, iput() is also needed in .kill_sb(), in case of the mounting fails halfway. Signed-off-by:Jingbo Xu <jefflexu@linux.alibaba.com> Reviewed-by:
Yue Hu <huyue2@coolpad.com> Fixes: b15b2e30 ("erofs: support on-disk compressed fragments data") Reviewed-by:
Gao Xiang <hsiangkao@linux.alibaba.com> Acked-by:
Chao Yu <chao@kernel.org> Link: https://lore.kernel.org/r/20230407141710.113882-3-jefflexu@linux.alibaba.com Signed-off-by:
Gao Xiang <hsiangkao@linux.alibaba.com> Signed-off-by:
Sasha Levin <sashal@kernel.org>
parent
7ee7a86e
No related branches found
No related tags found
Loading
Please register or sign in to comment