Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit de4acda1 authored by Al Viro's avatar Al Viro
Browse files

autofs4: don't bother with d_instantiate(dentry, NULL) in ->lookup()



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 5cf3b560
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;
}