[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f4161490-f7ed-78f0-bf05-96040cbb31e9@redhat.com>
Date: Tue, 8 Jun 2021 17:40:37 +0200
From: Max Reitz <mreitz@...hat.com>
To: Greg Kurz <groug@...d.org>, Miklos Szeredi <miklos@...redi.hu>
Cc: linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
virtio-fs@...hat.com, Vivek Goyal <vgoyal@...hat.com>
Subject: Re: [PATCH v2 5/7] fuse: Call vfs_get_tree() for submounts
On 04.06.21 18:11, Greg Kurz wrote:
> We recently fixed an infinite loop by setting the SB_BORN flag on
> submounts along with the write barrier needed by super_cache_count().
> This is the job of vfs_get_tree() and FUSE shouldn't have to care
> about the barrier at all.
>
> Split out some code from fuse_dentry_automount() to the dedicated
> fuse_get_tree_submount() handler for submounts and call vfs_get_tree().
>
> Signed-off-by: Greg Kurz <groug@...d.org>
> ---
> fs/fuse/dir.c | 53 +++++--------------------------------------------
> fs/fuse/inode.c | 36 +++++++++++++++++++++++++++++++++
> 2 files changed, 41 insertions(+), 48 deletions(-)
Reviewed-by: Max Reitz <mreitz@...hat.com>
Powered by blists - more mailing lists