patch-2.4.22 linux-2.4.22/fs/jfs/super.c

Next file: linux-2.4.22/fs/lockd/clntproc.c
Previous file: linux-2.4.22/fs/jfs/resize.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/fs/jfs/super.c linux-2.4.22/fs/jfs/super.c
@@ -337,6 +337,7 @@
 	if (!(sb->s_flags & MS_RDONLY)) {
 		txQuiesce(sb);
 		lmLogShutdown(log);
+		updateSuper(sb, FM_CLEAN);
 	}
 }
 
@@ -347,6 +348,7 @@
 	int rc = 0;
 
 	if (!(sb->s_flags & MS_RDONLY)) {
+		updateSuper(sb, FM_MOUNT);
 		if ((rc = lmLogInit(log)))
 			jfs_err("jfs_unlock failed with return code %d", rc);
 		else

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)