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

[Cluster-devel] cluster/gfs-kernel/src/gfs ops_fstype.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	rpeterso sourceware org	2006-08-10 14:52:20

Modified files:
	gfs-kernel/src/gfs: ops_fstype.c 

Log message:
	Mounting was mistakenly allowed with too few journals.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/ops_fstype.c.diff?cvsroot=cluster&r1=1.26&r2=1.27

--- cluster/gfs-kernel/src/gfs/ops_fstype.c	2006/07/18 20:48:20	1.26
+++ cluster/gfs-kernel/src/gfs/ops_fstype.c	2006/08/10 14:52:20	1.27
@@ -658,7 +658,9 @@
 		goto fail_sb;
 	}
 
-	init_journal(sdp, DO);
+	error = init_journal(sdp, DO);
+	if (error)
+		goto fail_sb;
 	/*  Get a handle on the rename lock  */
 
 	error = gfs_glock_get(sdp, GFS_RENAME_LOCK, &gfs_nondisk_glops,


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