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

teigland at sourceware.org teigland at sourceware.org
Tue Dec 5 22:27:06 UTC 2006


CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL50
Changes by:	teigland at sourceware.org	2006-12-05 22:27:04

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&only_with_tag=RHEL50&r1=1.18&r2=1.18.4.1

--- cluster/gfs2/mount/util.c	2006/10/25 06:24:43	1.18
+++ cluster/gfs2/mount/util.c	2006/12/05 22:27:04	1.18.4.1
@@ -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;




More information about the Cluster-devel mailing list