patch-2.1.93 linux/fs/hfs/super.c
Next file: linux/fs/hpfs/hpfs_fs.c
Previous file: linux/fs/filesystems.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Sat Apr 4 09:45:15 1998
- Orig file:
v2.1.92/linux/fs/hfs/super.c
- Orig date:
Tue Mar 17 22:18:15 1998
diff -u --recursive --new-file v2.1.92/linux/fs/hfs/super.c linux/fs/hfs/super.c
@@ -122,8 +122,6 @@
{
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 @@
/* 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;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov