Skip to contentSkip to conversation

Cluster Project branch, RHEL5, updated. cmirror_1_1_15-39-g73916dd

Cluster-devel [email protected] 1 participant 1 message Apr 9, 2008

lore
Share & tools
lore
#0 lore 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=73916dd1f4ce1fa237a8e01e682e6380132edeeb

The branch, RHEL5 has been updated

       via  73916dd1f4ce1fa237a8e01e682e6380132edeeb (commit)
       via  3c709adffbfcaf7abd60792985631e4c677575cc (commit)
      from  76161dd2dc6dc3030eac72342fe701519e8e53f2 (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 73916dd1f4ce1fa237a8e01e682e6380132edeeb

Author: Bob Peterson <[email protected]>
Date:   Wed Apr 9 17:03:46 2008 -0500

Resolves: bz 431952: GFS: gfs-kernel should use device major:minor

commit 3c709adffbfcaf7abd60792985631e4c677575cc

Author: Bob Peterson <[email protected]>
Date:   Fri Mar 14 11:17:46 2008 -0500

Resolves: bz 421761: 'gfs_tool lockdump' wrongly says 'unknown mountpoint' re HP cciss RAID array

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

Summary of changes:

 gfs-kernel/src/gfs/proc.c |    9 +++++-
 gfs/gfs_tool/util.c       |   64 +++++++--------------------------------------
 2 files changed, 17 insertions(+), 56 deletions(-)
gfs-kernel/src/gfs/proc.c +7 -2
index c86b4e6..1c38b0d 100644
@@ -77,6 +77,7 @@ do_list(char *user_buf, size_t size)
 	struct gfs_sbd *sdp = NULL;
 	unsigned int x;
 	char num[21];
+	char device_id[32];
 	char *buf;
 	int error = 0;
 
@@ -85,8 +86,10 @@ 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);
+		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(sdp->sd_vfs->s_id) +
+			strlen(device_id) +
 			strlen(sdp->sd_fsname) + 3;
 	}
 
@@ -105,8 +108,10 @@ 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);
+		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, sdp->sd_vfs->s_id, sdp->sd_fsname);
+			     (unsigned long)sdp, device_id, sdp->sd_fsname);
 	}
 
 	if (copy_to_user(user_buf, buf, x))
gfs/gfs_tool/util.c +10 -54

95 lines not on this page · raw message

hooks/post-receive
--
Cluster Project