gfs2-utils: master - 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:34:06 UTC 2010
Gitweb: http://git.fedorahosted.org/git/gfs2-utils.git?p=gfs2-utils.git;a=commitdiff;h=225463b3fd29856c00217006b7ae99a5f32adace
Commit: 225463b3fd29856c00217006b7ae99a5f32adace
Parent: a7008ede94fb0782a8bccace8ecbb5dd78ed45c6
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:33:22 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 bf45284..deee7b7 100644
--- a/gfs2/libgfs2/misc.c
+++ b/gfs2/libgfs2/misc.c
@@ -182,7 +182,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