summaryrefslogtreecommitdiffstats
path: root/fs/autofs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/autofs/inode.c')
-rw-r--r--fs/autofs/inode.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/autofs/inode.c b/fs/autofs/inode.c
index cbcefc34a..d17115208 100644
--- a/fs/autofs/inode.c
+++ b/fs/autofs/inode.c
@@ -41,16 +41,13 @@ static void autofs_put_super(struct super_block *sb)
if ( !sbi->catatonic )
autofs_catatonic_mode(sbi); /* Free wait queues, close pipe */
- lock_super(sb);
autofs_hash_nuke(&sbi->dirhash);
for ( n = 0 ; n < AUTOFS_MAX_SYMLINKS ; n++ ) {
if ( test_bit(n, sbi->symlink_bitmap) )
kfree(sbi->symlink[n].data);
}
- sb->s_dev = 0;
kfree(sb->u.generic_sbp);
- unlock_super(sb);
DPRINTK(("autofs: shutting down\n"));