This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
RHEL5 - libgfs2: Bug 459630 - GFS2: changes needed to gfs2-utils dueto gfs2meta fs changes in bz 457798
- From: Abhijith Das <adas at fedoraproject dot org>
- To: cluster-cvs-relay at redhat dot com
- Date: Fri, 12 Sep 2008 05:48:51 +0000 (UTC)
- Subject: RHEL5 - libgfs2: Bug 459630 - GFS2: changes needed to gfs2-utils dueto gfs2meta fs changes in bz 457798
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=a95f1038c3b72c8eb61c09ffb4d79786f6a7e68e
Commit: a95f1038c3b72c8eb61c09ffb4d79786f6a7e68e
Parent: 1aa2974320e02dd80e1c894bf841a68d9a10edb1
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:45:57 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 b6948dd..f4bb74d 100644
--- a/gfs2/libgfs2/misc.c
+++ b/gfs2/libgfs2/misc.c
@@ -237,7 +237,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));