From: Ian Kent Signed-off-by: Andrew Morton --- fs/autofs4/inode.c | 2 -- 1 files changed, 2 deletions(-) diff -puN fs/autofs4/inode.c~autofs4-reinstate-negatitive-timeout-of-mount-fails-fix fs/autofs4/inode.c --- a/fs/autofs4/inode.c~autofs4-reinstate-negatitive-timeout-of-mount-fails-fix +++ a/fs/autofs4/inode.c @@ -108,9 +108,7 @@ static void autofs4_force_release(struct spin_lock(&sbi->rehash_lock); list_for_each_safe(p, next, &sbi->rehash_list) { struct autofs_info *ino; - struct dentry *dentry; ino = list_entry(p, struct autofs_info, rehash); - dentry = ino->dentry; spin_unlock(&sbi->rehash_lock); dput(ino->dentry); spin_lock(&sbi->rehash_lock); _