[PATCH] erofs: set SB_NODEV sb_flags when mounting with fsid

Christian Brauner brauner at kernel.org
Tue Apr 16 22:35:08 AEST 2024


> > 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-erofs-reliably-distinguish-block-based-and-fscache-m.patch
Type: text/x-diff
Size: 4054 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linux-erofs/attachments/20240416/4ba2f167/attachment.patch>


More information about the Linux-erofs mailing list