[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZwUr2HthVw9Hc1ke@infradead.org>
Date: Tue, 8 Oct 2024 05:55:52 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Gao Xiang <hsiangkao@...ux.alibaba.com>
Cc: Christoph Hellwig <hch@...radead.org>,
Christian Brauner <brauner@...nel.org>,
Alexander Viro <viro@...iv.linux.org.uk>, Jan Kara <jack@...e.cz>,
Allison Karlitskaya <allison.karlitskaya@...hat.com>,
Chao Yu <chao@...nel.org>, LKML <linux-kernel@...r.kernel.org>,
linux-fsdevel@...r.kernel.org, linux-erofs@...ts.ozlabs.org
Subject: Re: [PATCH 1/2] fs/super.c: introduce get_tree_bdev_by_dev()
On Tue, Oct 08, 2024 at 08:33:27PM +0800, Gao Xiang wrote:
> how about
> int get_tree_bdev_flags(struct fs_context *fc,
> int (*fill_super)(struct super_block *,
> struct fs_context *), bool quiet)
>
> for now? it can be turned into `int flags` if other needs
> are shown later (and I don't need to define an enum.)
I'd pass an unsigned int flags with a clearly spellt out (and
extensible) flags namespae.
Powered by blists - more mailing lists