[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240416-blumig-dachgeschoss-bc683f4ef1bf@brauner>
Date: Tue, 16 Apr 2024 14:35:08 +0200
From: Christian Brauner <brauner@...nel.org>
To: Baokun Li <libaokun1@...wei.com>
Cc: xiang@...nel.org, linux-erofs@...ts.ozlabs.org, chao@...nel.org,
huyue2@...lpad.com, jefflexu@...ux.alibaba.com, viro@...iv.linux.org.uk,
linux-kernel@...r.kernel.org, yangerkun@...wei.com, houtao1@...wei.com
Subject: Re: [PATCH] erofs: set SB_NODEV sb_flags when mounting with fsid
> > 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.
View attachment "0001-erofs-reliably-distinguish-block-based-and-fscache-m.patch" of type "text/x-diff" (4055 bytes)
Powered by blists - more mailing lists