diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-11-16 21:43:59 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-11-16 22:00:34 -0500 |
commit | ea441d1104cf1efb471fa81bc91e9fd1e6ae29fd (patch) | |
tree | 32b7c4f7c78af47936a604e3f4e13e8e61f834a0 /fs/romfs/mmap-nommu.c | |
parent | c13344958780b4046305ee6235d686c846535529 (diff) | |
download | linux-ea441d1104cf1efb471fa81bc91e9fd1e6ae29fd.tar.bz2 |
new helper: mount_subtree()
takes vfsmount and relative path, does lookup within that vfsmount
(possibly triggering automounts) and returns the result as root
of subtree suitable for return by ->mount() (i.e. a reference to
dentry and an active reference to its superblock grabbed, superblock
locked exclusive).
btrfs and nfs switched to it instead of open-coding the sucker.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/romfs/mmap-nommu.c')
0 files changed, 0 insertions, 0 deletions