Re: [PATCH 04/11] VFS: export lookup_mnt()
From: Al Viro <viro@zeniv.linux.org.uk>
Date: 2021-07-30 00:31:26
Also in:
linux-fsdevel, linux-nfs
From: Al Viro <viro@zeniv.linux.org.uk>
Date: 2021-07-30 00:31:26
Also in:
linux-fsdevel, linux-nfs
On Wed, Jul 28, 2021 at 08:37:45AM +1000, NeilBrown wrote:
In order to support filehandle lookup in filesystems with internal mounts (multiple subvols in the one filesystem) reconnect_path() in exportfs will need to find out if a given dentry is already mounted. This can be done with the function lookup_mnt(), so export that to make it available.
IMO having exportfs modular is wrong - note that fs/fhandle.c is * calling functions in exportfs * non-modular * ... and not going to be modular, no matter what - there are syscalls in it.