cluster/gfs2/mount util.c
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
gfs2/mount/util.c +3 -3
@@ -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 ;