public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
From: Abhijith Das <adas@fedoraproject.org>
To: cluster-cvs-relay@redhat.com
Subject: master - libgfs2: Bug 459630 - GFS2: changes needed to gfs2-utils due to gfs2meta fs changes in bz 457798
Date: Fri, 12 Sep 2008 21:47:00 -0000	[thread overview]
Message-ID: <20080912055140.08C44C07B7@lists.fedorahosted.org> (raw)

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));


                 reply	other threads:[~2008-09-12  5:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080912055140.08C44C07B7@lists.fedorahosted.org \
    --to=adas@fedoraproject.org \
    --cc=cluster-cvs-relay@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).