From: Erez_Zadok Date: Mon, 28 May 2007 23:23:42 +0000 (-0400) Subject: cleanup: remove unnecessary call to inherit_mnt X-Git-Url: https://git.fsl.cs.sunysb.edu/?a=commitdiff_plain;h=233548fe07ff3c1c0fd96a4e548019df5b4c1621;p=unionfs-2.6.34.y.git 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 --- diff --git a/fs/unionfs/inode.c b/fs/unionfs/inode.c index dfe516eb981..85730cc05a4 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);