summaryrefslogtreecommitdiffstats
path: root/fs/hfs/super.c
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/hfs/super.c
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/hfs/super.c')
-rw-r--r--fs/hfs/super.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/hfs/super.c b/fs/hfs/super.c
index 9e278d383..81a1c2562 100644
--- a/fs/hfs/super.c
+++ b/fs/hfs/super.c
@@ -122,8 +122,6 @@ static void hfs_put_super(struct super_block *sb)
{
struct hfs_mdb *mdb = HFS_SB(sb)->s_mdb;
- lock_super(sb);
-
if (!(sb->s_flags & MS_RDONLY)) {
hfs_mdb_commit(mdb, 0);
sb->s_dirt = 0;
@@ -135,12 +133,8 @@ static void hfs_put_super(struct super_block *sb)
/* restore default blocksize for the device */
set_blocksize(sb->s_dev, BLOCK_SIZE);
- /* invalidate the superblock */
- sb->s_dev = 0;
-
MOD_DEC_USE_COUNT;
- unlock_super(sb);
return;
}