cluster: STABLE3 - libgfs2: mount device for metafs
Benjamin Marzinski
bmarzins at fedoraproject.org
Wed Nov 11 00:33:18 UTC 2009
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=c6f345c4d5f88eaaad0154b305dafd91d4c1a0a6
Commit: c6f345c4d5f88eaaad0154b305dafd91d4c1a0a6
Parent: fe31feba25f8554ba9d5d1d449206a56f40b3224
Author: Benjamin Marzinski <bmarzins at redhat.com>
AuthorDate: Tue Nov 10 18:04:35 2009 -0600
Committer: Benjamin Marzinski <bmarzins at redhat.com>
CommitterDate: Tue Nov 10 18:19:54 2009 -0600
libgfs2: mount device for metafs
When gfs2 mounts the meta filesystem with -o meta, it needs
to mount the actual device, not the regular filesystem mount
point.
Signed-off-by: Benjamin Marzinski <bmarzins at redhat.com>
---
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 91bcc51..d8fe515 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->path_name, sdp->metafs_path, "gfs2", 0, "meta");
+ ret = mount(sdp->device_name, sdp->metafs_path, "gfs2", 0, "meta");
if (ret) {
rmdir(sdp->metafs_path);
return -1;
More information about the cluster-commits
mailing list