summaryrefslogtreecommitdiffstats
path: root/fs/autofs4
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-03-07 15:10:45 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2016-03-14 00:16:00 -0400
commitde4acda16e11110bbba5195061789f93a6c0d29d (patch)
tree06701ef4bcdb6cfffcf5c825afdf29124174aee9 /fs/autofs4
parent5cf3b560af903c82e9fc12578fac2fbcb8ca1533 (diff)
downloadop-kernel-dev-de4acda16e11110bbba5195061789f93a6c0d29d.zip
op-kernel-dev-de4acda16e11110bbba5195061789f93a6c0d29d.tar.gz
autofs4: don't bother with d_instantiate(dentry, NULL) in ->lookup()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/autofs4')
-rw-r--r--fs/autofs4/root.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/autofs4/root.c b/fs/autofs4/root.c
index c6d7d3d..75dd739 100644
--- a/fs/autofs4/root.c
+++ b/fs/autofs4/root.c
@@ -537,8 +537,6 @@ static struct dentry *autofs4_lookup(struct inode *dir, struct dentry *dentry, u
ino->dentry = dentry;
autofs4_add_active(dentry);
-
- d_instantiate(dentry, NULL);
}
return NULL;
}
OpenPOWER on IntegriCloud