[PATCH] erofs: drop unnecessary WARN_ON() in erofs_kill_sb()
Christian Brauner
brauner at kernel.org
Tue Aug 1 17:19:05 AEST 2023
On Tue, Aug 01, 2023 at 09:47:37AM +0800, Gao Xiang wrote:
> Previously, .kill_sb() will be called only after fill_super fails.
> It will be changed [1].
>
> Besides, checking for s_magic in erofs_kill_sb() is unnecessary from
> any point of view. Let's get rid of it now.
>
> [1] https://lore.kernel.org/r/20230731-flugbereit-wohnlage-78acdf95ab7e@brauner
> Signed-off-by: Gao Xiang <hsiangkao at linux.alibaba.com>
> ---
> will upstream this commit later this week after it lands -next.
Thanks,
Acked-by: Christian Brauner <brauner at kernel.org>
More information about the Linux-erofs
mailing list