mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-10 07:50:04 +00:00
autofs4: don't bother with d_instantiate(dentry, NULL) in ->lookup()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
5cf3b560af
commit
de4acda16e
@ -537,8 +537,6 @@ static struct dentry *autofs4_lookup(struct inode *dir, struct dentry *dentry, u
|
|||||||
ino->dentry = dentry;
|
ino->dentry = dentry;
|
||||||
|
|
||||||
autofs4_add_active(dentry);
|
autofs4_add_active(dentry);
|
||||||
|
|
||||||
d_instantiate(dentry, NULL);
|
|
||||||
}
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user