diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1998-05-07 02:55:41 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1998-05-07 02:55:41 +0000 |
commit | dcec8a13bf565e47942a1751a9cec21bec5648fe (patch) | |
tree | 548b69625b18cc2e88c3e68d0923be546c9ebb03 /fs/adfs | |
parent | 2e0f55e79c49509b7ff70ff1a10e1e9e90a3dfd4 (diff) |
o Merge with Linux 2.1.99.
o Fix ancient bug in the ELF loader making ldd crash.
o Fix ancient bug in the keyboard code for SGI, SNI and Jazz.
Diffstat (limited to 'fs/adfs')
-rw-r--r-- | fs/adfs/super.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/adfs/super.c b/fs/adfs/super.c index 3ddd5d5cc..234d8cf21 100644 --- a/fs/adfs/super.c +++ b/fs/adfs/super.c @@ -98,13 +98,11 @@ static struct super_operations adfs_sops = { static void adfs_put_super (struct super_block *sb) { int i; - lock_super (sb); - sb->s_dev = 0; + for (i = 0; i < sb->u.adfs_sb.s_map_size; i++) brelse (sb->u.adfs_sb.s_map[i]); kfree (sb->u.adfs_sb.s_map); brelse (sb->u.adfs_sb.s_sbh); - unlock_super (sb); MOD_DEC_USE_COUNT; } |