cluster: STABLE3 - libgfs2: Bug 459630 - GFS2: changes needed to gfs2-utils due to gfs2meta fs changes in bz 457798
Abhijith Das
adas at fedoraproject.org
Thu Jan 21 17:24:12 UTC 2010
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=ac4d05be899468345d758969e4d5e1c9a4f60f77
Commit: ac4d05be899468345d758969e4d5e1c9a4f60f77
Parent: b9d779da3f1f29638e5d7697d99bc038d7b0e81a
Author: Abhijith Das <adas at redhat.com>
AuthorDate: Thu Jan 21 11:22:42 2010 -0600
Committer: Abhijith Das <adas at redhat.com>
CommitterDate: Thu Jan 21 11:22:42 2010 -0600
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 d8fe515..541db02 100644
--- a/gfs2/libgfs2/misc.c
+++ b/gfs2/libgfs2/misc.c
@@ -180,7 +180,7 @@ int mount_gfs2_meta(struct gfs2_sbd *sdp)
if(!mkdtemp(sdp->metafs_path))
return -1;
- ret = mount(sdp->device_name, sdp->metafs_path, "gfs2", 0, "meta");
+ ret = mount(sdp->path_name, sdp->metafs_path, "gfs2meta", 0, NULL);
if (ret) {
rmdir(sdp->metafs_path);
return -1;
More information about the cluster-commits
mailing list