[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YnvOFt3sC/XLJj05@infradead.org>
Date: Wed, 11 May 2022 07:54:14 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Daniil Lunev <dlunev@...omium.org>
Cc: linux-fsdevel@...r.kernel.org, fuse-devel@...ts.sourceforge.net,
linux-kernel@...r.kernel.org,
Alexander Viro <viro@...iv.linux.org.uk>
Subject: Re: [PATCH 1/2] fs/super: Add a flag to mark super block defunc
On Wed, May 11, 2022 at 11:30:56AM +1000, Daniil Lunev wrote:
> File system can mark a block "defunc" in order to prevent matching
> against it in a new mount.
Why use a bool instead of using s_iflags?
Also I suspect we should never reuse a force mounted superblock,
but at least for block devices we should also not allow allocating
a new one for that case but just refuse the mount.
Powered by blists - more mailing lists