Skip to contentSkip to conversation

cluster/gfs2/fsck initialize.c

Cluster-devel [email protected] 1 participant 1 message Sep 20, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Changes by: rpeterso at sourceware.org 2006-09-20 16:43:26

Modified files:
gfs2/fsck : initialize.c

Log message:
Addendum to bz 200883. If gfs2_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/gfs2/fsck/initialize.c.diff?cvsroot=cluster&r1=1.5&r2=1.6

gfs2/fsck/initialize.c +2 -0
@@ -340,6 +340,8 @@
 	/* verify various things */
 
 	if(init_journals(sbp)) {
+		if(!opts.no)
+			block_mounters(sbp, 0);
 		stack;
 		return -1;
 	}