From: Al Viro Date: Mon, 7 Mar 2016 20:10:45 +0000 (-0500) Subject: autofs4: don't bother with d_instantiate(dentry, NULL) in ->lookup() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=de4acda16e11110bbba5195061789f93a6c0d29d;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git autofs4: don't bother with d_instantiate(dentry, NULL) in ->lookup() Signed-off-by: Al Viro --- diff --git a/fs/autofs4/root.c b/fs/autofs4/root.c index c6d7d3dbd52a..75dd739ac3e6 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; }