diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2010-03-03 12:58:31 -0500 | 
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-03-03 12:58:31 -0500 | 
| commit | 4b1ae27a96d9860e6c4348673e8fb6a0322511fe (patch) | |
| tree | d9d195bfef3e8e746ef68adb4364516633d27313 /fs/autofs4/inode.c | |
| parent | 60b341b778cc2929df16c0a504c91621b3c6a4ad (diff) | |
Revert "autofs4: always use lookup for lookup"
This reverts commit 213614d583748d00967a91cacd656f417efb36ce.
Alas, ->d_revalidate() can't rely on ->lookup() finishing what
it's started; if d_alloc() in do_lookup() fails, we are not going
to call ->lookup() at all.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/autofs4/inode.c')
| -rw-r--r-- | fs/autofs4/inode.c | 1 | 
1 files changed, 0 insertions, 1 deletions
| diff --git a/fs/autofs4/inode.c b/fs/autofs4/inode.c index d0a3de247458..4670a7818eac 100644 --- a/fs/autofs4/inode.c +++ b/fs/autofs4/inode.c @@ -49,7 +49,6 @@ struct autofs_info *autofs4_init_ino(struct autofs_info *ino,  		ino->dentry = NULL;  		ino->size = 0;  		INIT_LIST_HEAD(&ino->active); -		INIT_LIST_HEAD(&ino->rehash_list);  		ino->active_count = 0;  		INIT_LIST_HEAD(&ino->expiring);  		atomic_set(&ino->count, 0); | 
