Re: [PATCH] erofs: set SB_NODEV sb_flags when mounting with fsid
From: Christian Brauner
Date: Tue Apr 16 2024 - 08:35:25 EST
> > I'm not sure how to resolve it in EROFS itself, anyway...
Instead of allocating the erofs_sb_info in fill_super() allocate it
during erofs_get_tree() and then you can ensure that you always have the
info you need available during erofs_kill_sb(). See the appended
(untested) patch.