The patch titled vfs: remove lives_below_in_same_fs() has been removed from the -mm tree. Its filename was vfs-remove-lives_below_in_same_fs.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: vfs: remove lives_below_in_same_fs() From: Jan Blunck <jblunck@xxxxxxx> Remove lives_below_in_same_fs() since is_subdir() from fs/dcache.c is providing the same functionality. Signed-off-by: Jan Blunck <jblunck@xxxxxxx> Acked-by: Miklos Szeredi <mszeredi@xxxxxxx> Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx> Cc: Christoph Hellwig <hch@xxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/namespace.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff -puN fs/namespace.c~vfs-remove-lives_below_in_same_fs fs/namespace.c --- a/fs/namespace.c~vfs-remove-lives_below_in_same_fs +++ a/fs/namespace.c @@ -1176,17 +1176,6 @@ static int mount_is_safe(struct nameidat #endif } -static int lives_below_in_same_fs(struct dentry *d, struct dentry *dentry) -{ - while (1) { - if (d == dentry) - return 1; - if (d == NULL || d == d->d_parent) - return 0; - d = d->d_parent; - } -} - struct vfsmount *copy_tree(struct vfsmount *mnt, struct dentry *dentry, int flag) { @@ -1203,7 +1192,7 @@ struct vfsmount *copy_tree(struct vfsmou p = mnt; list_for_each_entry(r, &mnt->mnt_mounts, mnt_child) { - if (!lives_below_in_same_fs(r->mnt_mountpoint, dentry)) + if (!is_subdir(r->mnt_mountpoint, dentry)) continue; for (s = r; s; s = next_mnt(s, r)) { _ Patches currently in -mm which might be from jblunck@xxxxxxx are origin.patch nfs-path_getput-cleanups.patch git-unionfs.patch vfs-path_getput-cleanups.patch autofs-path_getput-cleanups.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html