diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-07 15:10:45 -0500 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-14 00:16:00 -0400 |
| commit | de4acda16e11110bbba5195061789f93a6c0d29d (patch) | |
| tree | 06701ef4bcdb6cfffcf5c825afdf29124174aee9 | |
| parent | 5cf3b560af903c82e9fc12578fac2fbcb8ca1533 (diff) | |
autofs4: don't bother with d_instantiate(dentry, NULL) in ->lookup()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| -rw-r--r-- | fs/autofs4/root.c | 2 |
1 files changed, 0 insertions, 2 deletions
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 | |||
| 537 | ino->dentry = dentry; | 537 | ino->dentry = dentry; |
| 538 | 538 | ||
| 539 | autofs4_add_active(dentry); | 539 | autofs4_add_active(dentry); |
| 540 | |||
| 541 | d_instantiate(dentry, NULL); | ||
| 542 | } | 540 | } |
| 543 | return NULL; | 541 | return NULL; |
| 544 | } | 542 | } |
