On Fri, 30 Jul 2021, Al Viro wrote: > 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. > > I agree - it makes sense for exportfs to be non-module. It cannot be module if FHANDLE is enabled, and if you don't want FHANDLE you probably don't want EXPORTFS either. Thanks, NeilBrown