summaryrefslogtreecommitdiffstats
path: root/fs/ufs
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1998-05-07 02:55:41 +0000
committerRalf Baechle <ralf@linux-mips.org>1998-05-07 02:55:41 +0000
commitdcec8a13bf565e47942a1751a9cec21bec5648fe (patch)
tree548b69625b18cc2e88c3e68d0923be546c9ebb03 /fs/ufs
parent2e0f55e79c49509b7ff70ff1a10e1e9e90a3dfd4 (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/ufs')
-rw-r--r--fs/ufs/ufs_super.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/ufs/ufs_super.c b/fs/ufs/ufs_super.c
index 6a378fb13..7fdac8dd6 100644
--- a/fs/ufs/ufs_super.c
+++ b/fs/ufs/ufs_super.c
@@ -335,15 +335,13 @@ void ufs_put_super (struct super_block * sb)
printk("ufs_put_super\n"); /* XXX */
}
- lock_super (sb);
+
/* XXX - sync fs data, set state to ok, and flush buffers */
set_blocksize (sb->s_dev, BLOCK_SIZE);
- sb->s_dev = 0;
/* XXX - free allocated kernel memory */
/* includes freeing usb page */
- unlock_super (sb);
MOD_DEC_USE_COUNT;
return;