All of lore.kernel.org
 help / color / mirror / Atom feed
From: rpeterso@sourceware.org <rpeterso@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] Cluster Project branch, STABLE2, updated. cluster-2.02.00-27-g8f3ec43
Date: 24 Mar 2008 18:13:06 -0000	[thread overview]
Message-ID: <20080324181306.330.qmail@sourceware.org> (raw)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cluster Project".

http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=8f3ec431efff4ce45f8765075e7c65f53d208905

The branch, STABLE2 has been updated
       via  8f3ec431efff4ce45f8765075e7c65f53d208905 (commit)
      from  b2be4d60359ff6fc01a2ccf9a98850063b8e1da3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8f3ec431efff4ce45f8765075e7c65f53d208905
Author: Bob Peterson <rpeterso@redhat.com>
Date:   Mon Mar 24 09:51:36 2008 -0500

    Update to prior commit for bz431945: I forgot that STABLE2
    does not have a diaper device.

-----------------------------------------------------------------------

Summary of changes:
 gfs-kernel/src/gfs/proc.c |   12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/gfs-kernel/src/gfs/proc.c b/gfs-kernel/src/gfs/proc.c
index b58181c..1c38b0d 100644
--- a/gfs-kernel/src/gfs/proc.c
+++ b/gfs-kernel/src/gfs/proc.c
@@ -27,7 +27,6 @@
 #include "lm.h"
 #include "proc.h"
 #include "super.h"
-#include "diaper.h"
 
 struct list_head gfs_fs_list;
 struct semaphore gfs_fs_lock;
@@ -81,16 +80,14 @@ do_list(char *user_buf, size_t size)
 	char device_id[32];
 	char *buf;
 	int error = 0;
-	struct block_device *bdevice;
 
 	down(&gfs_fs_lock);
 
 	x = 0;
 	for (tmp = gfs_fs_list.next; tmp != &gfs_fs_list; tmp = tmp->next) {
 		sdp = list_entry(tmp, struct gfs_sbd, sd_list);
-		bdevice = gfs_diaper_2real(sdp->sd_vfs->s_bdev);
-		sprintf(device_id, "%u:%u", MAJOR(bdevice->bd_dev),
-			MINOR(bdevice->bd_dev));
+		sprintf(device_id, "%u:%u", MAJOR(sdp->sd_vfs->s_dev),
+			MINOR(sdp->sd_vfs->s_dev));
 		x += sprintf(num, "%lu", (unsigned long)sdp) +
 			strlen(device_id) +
 			strlen(sdp->sd_fsname) + 3;
@@ -111,9 +108,8 @@ do_list(char *user_buf, size_t size)
 	x = 0;
 	for (tmp = gfs_fs_list.next; tmp != &gfs_fs_list; tmp = tmp->next) {
 		sdp = list_entry(tmp, struct gfs_sbd, sd_list);
-		bdevice = gfs_diaper_2real(sdp->sd_vfs->s_bdev);
-		sprintf(device_id, "%u:%u", MAJOR(bdevice->bd_dev),
-			MINOR(bdevice->bd_dev));
+		sprintf(device_id, "%u:%u", MAJOR(sdp->sd_vfs->s_dev),
+			MINOR(sdp->sd_vfs->s_dev));
 		x += sprintf(buf + x, "%lu %s %s\n",
 			     (unsigned long)sdp, device_id, sdp->sd_fsname);
 	}


hooks/post-receive
--
Cluster Project



                 reply	other threads:[~2008-03-24 18:13 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=20080324181306.330.qmail@sourceware.org \
    --to=rpeterso@sourceware.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.