From: Al Viro Date: Thu, 17 Nov 2011 02:43:59 +0000 (-0500) Subject: new helper: mount_subtree() X-Git-Tag: v3.2-rc3~32^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea441d1104cf1efb471fa81bc91e9fd1e6ae29fd;p=pandora-kernel.git 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 --- Reading git-diff-tree failed