From ce2de2100bbaa251d0bec6aab121ab145671894b Mon Sep 17 00:00:00 2001 From: Erez_Zadok Date: Mon, 28 May 2007 19:23:42 -0400 Subject: [PATCH] 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 --- fs/unionfs/inode.c | 1 - 1 file changed, 1 deletion(-) 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); -- 2.43.0