Re: [PATCH 6/6] fs: Make bind mounts work with bdev_allow_write_mounted=n

Christoph Hellwig
2023-07-07T11:30:28Z

On Thu, Jul 06, 2023 at 06:12:55PM +0200, Jan Kara wrote:
> Well, this is exactly what this patch does - we use dev_t to lookup the
> superblock in sget_fc() and we open the block device only if we cannot find
> matching superblock and need to create a new one...

Hah, that's what you get for writing one last mail before getting on
an airplane without reading the patch. This just sounded like a
workaround especially being at the end of the series.