[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] cluster/gfs/gfs_fsck initialize.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL4
Changes by:	rpeterso sourceware org	2006-09-20 16:37:37

Modified files:
	gfs/gfs_fsck   : initialize.c 

Log message:
	Addendum to bz 200883.  If gfs_fsck can't finish initialization,
	it was exiting but not fixing the lock protocol back for normal use.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs/gfs_fsck/initialize.c.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.1.2.9&r2=1.1.2.10

--- cluster/gfs/gfs_fsck/initialize.c	2006/09/19 21:58:37	1.1.2.9
+++ cluster/gfs/gfs_fsck/initialize.c	2006/09/20 16:37:37	1.1.2.10
@@ -389,13 +389,17 @@
 
 	/* initialize important inodes, fill the rgrp and journal indexes, etc */
 	if(fill_super_block(sbp)) {
-	        stack;
+		if(!sbp->opts->no)
+			block_mounters(sbp, 0);
+		stack;
 		return -1;
 	}
 
 	/* verify various things */
 
 	if(init_journals(sbp)) {
+		if(!sbp->opts->no)
+			block_mounters(sbp, 0);
 		stack;
 		return -1;
 	}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]