Re: [PATCH 0/2] Prevent re-use of FUSE superblock after force unmount

From: Miklos Szeredi
Date: Wed May 11 2022 - 08:28:54 EST


On Wed, 11 May 2022 at 13:19, Daniil Lunev <dlunev@xxxxxxxxxxxx> wrote:
>
> > At a glance it's a gross hack. I can think of more than one way in
> > which this could be achieved without adding a new field to struct
> > super_block.
> Can you advise what would be a better way to achieve that?

I think it would be easiest to remove the super block from the
type->fs_supers list.

Thanks,
Miklos