Explorar o código

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

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro %!s(int64=9) %!d(string=hai) anos
pai
achega
de4acda16e
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      fs/autofs4/root.c

+ 0 - 2
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;
 }