public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* master - libgfs2: Bug 459630 - GFS2: changes needed to gfs2-utils due to gfs2meta fs changes in bz 457798
@ 2008-09-12 21:47 Abhijith Das
  0 siblings, 0 replies; only message in thread
From: Abhijith Das @ 2008-09-12 21:47 UTC (permalink / raw)
  To: cluster-cvs-relay

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=e673be7adf7bc62fbebfff80eb6941e1da093bd0
Commit:        e673be7adf7bc62fbebfff80eb6941e1da093bd0
Parent:        5094d8152494f13a0bdfa21a2b7b0d781a7b964a
Author:        Abhijith Das <adas@redhat.com>
AuthorDate:    Fri Sep 12 00:45:57 2008 -0500
Committer:     Abhijith Das <adas@redhat.com>
CommitterDate: Fri Sep 12 00:49:22 2008 -0500

libgfs2:  Bug 459630 -  GFS2: changes needed to gfs2-utils due to gfs2meta fs changes in bz 457798

The changes to the gfs2meta component of gfs2 (through bz 457798) do not
require any major changes to gfs2_utils except this one liner. We now use the
gfs2 mount point rather than the device to mount the meta fs.
---
 gfs2/libgfs2/misc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gfs2/libgfs2/misc.c b/gfs2/libgfs2/misc.c
index daef2f3..4a6665c 100644
--- a/gfs2/libgfs2/misc.c
+++ b/gfs2/libgfs2/misc.c
@@ -225,7 +225,7 @@ mount_gfs2_meta(struct gfs2_sbd *sdp)
 			    strerror(errno));
 	}
 		
-	ret = mount(sdp->device_name, sdp->metafs_path, "gfs2meta", 0, NULL);
+	ret = mount(sdp->path_name, sdp->metafs_path, "gfs2meta", 0, NULL);
 	if (ret)
 		die("Couldn't mount %s : %s\n", sdp->metafs_path,
 		    strerror(errno));


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-09-12  5:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-12 21:47 master - libgfs2: Bug 459630 - GFS2: changes needed to gfs2-utils due to gfs2meta fs changes in bz 457798 Abhijith Das

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).