GIT: unionfs2-2.6.27.y: cleanup: remove unnecessary call to inherit_mnt
Erez Zadok
ezk at fsl.cs.sunysb.edu
Thu Aug 12 23:16:29 EDT 2010
commit 1c4607664204e5855abb9d7ac784ada28f2799a8
Author: Erez_Zadok <ezk at cs.sunysb.edu>
Date: Mon May 28 19:23:42 2007 -0400
cleanup: remove unnecessary call to inherit_mnt
Our unionfs_lookup doesn't need to call inherit_mnt: the lower mnts will be
correct here (but not if other methods such as unionfs_rename call our
lookup_backend helper function directly).
Signed-off-by: Erez Zadok <ezk at cs.sunysb.edu>
diff --git a/fs/unionfs/inode.c b/fs/unionfs/inode.c
index dfe516e..85730cc 100644
--- a/fs/unionfs/inode.c
+++ b/fs/unionfs/inode.c
@@ -269,7 +269,6 @@ static struct dentry *unionfs_lookup(struct inode *parent,
if (!IS_ERR(ret)) {
if (ret)
dentry = ret;
- unionfs_inherit_mnt(dentry);
}
unionfs_check_inode(parent);
More information about the unionfs-cvs
mailing list