[PATCH 1/2] fs/super.c: introduce get_tree_bdev_by_dev()
Christoph Hellwig
hch at infradead.org
Tue Oct 8 23:23:00 AEDT 2024
On Tue, Oct 08, 2024 at 08:10:45PM +0800, Gao Xiang wrote:
> But the error message out of get_tree_bdev() is inflexible and
> IMHO it's too coupled to `fc->source`.
>
> > Otherwise just passing a quiet flag of some form feels like a much
> > saner interface.
>
> I'm fine with this way, but that will be a treewide change, I
> will send out a version with a flag later.
I'd probably just add a get_tree_bdev_flags and pass 0 flags from
get_tree_bdev.
More information about the Linux-erofs
mailing list