Re: [PATCH v5 0/2] Prevent re-use of FUSE block-device-based superblock after force unmount
From: Miklos Szeredi
Date: Wed Jul 27 2022 - 05:32:20 EST
On Wed, 27 Jul 2022 at 08:44, Daniil Lunev <dlunev@xxxxxxxxxxxx> wrote:
>
> Force unmount of fuse severes the connection between FUSE driver and its
> userspace counterpart. However, open file handles will prevent the
> superblock from being reclaimed. An attempt to remount the filesystem at
> the same endpoint will try re-using the superblock, if still present.
> Since the superblock re-use path doesn't go through the fs-specific
> superblock setup code, its state in FUSE case is already disfunctional,
> and that will prevent the mount from succeeding.
Applied, thanks.
Miklos