patch-2.1.93 linux/fs/ufs/ufs_super.c
Next file: linux/include/asm-i386/smp.h
Previous file: linux/fs/sysv/inode.c
Back to the patch index
Back to the overall index
-  Lines: 17
-  Date:
Sat Apr  4 09:45:18 1998
-  Orig file: 
v2.1.92/linux/fs/ufs/ufs_super.c
-  Orig date: 
Mon Feb 23 18:12:11 1998
diff -u --recursive --new-file v2.1.92/linux/fs/ufs/ufs_super.c linux/fs/ufs/ufs_super.c
@@ -335,15 +335,13 @@
 		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;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov