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

[Cluster-devel] cluster/gfs2/mount util.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	teigland sourceware org	2006-12-05 22:25:29

Modified files:
	gfs2/mount     : util.c 

Log message:
	Pass gfs_controld the device being mounted, it'll use this if it
	needs to withdraw the fs.
	bz 215962

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/mount/util.c.diff?cvsroot=cluster&r1=1.18&r2=1.19

--- cluster/gfs2/mount/util.c	2006/10/25 06:24:43	1.18
+++ cluster/gfs2/mount/util.c	2006/12/05 22:25:29	1.19
@@ -409,12 +409,12 @@
 
 	/*
 	 * send request to gfs_controld for it to join mountgroup:
-	 * "join <mountpoint> gfs2 lock_dlm <locktable> <options>"
+	 * "join <mountpoint> gfs2 lock_dlm <locktable> <options> <dev>"
 	 */
 
 	memset(buf, 0, sizeof(buf));
-	rv = snprintf(buf, MAXLINE, "join %s %s %s %s %s",
-		      dir, fsname, proto, table, options);
+	rv = snprintf(buf, MAXLINE, "join %s %s %s %s %s %s",
+		      dir, fsname, proto, table, options, mo->dev);
 	if (rv >= MAXLINE) {
 		warn("lock_dlm_join: message too long: %d \"%s\"", rv, buf);
 		rv = -1;


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