From ffc1b6907f69a0ba44c97ce1d8d153adac60473d Mon Sep 17 00:00:00 2001 From: grog Date: Sun, 14 Jan 2001 11:42:19 +0000 Subject: Remove references to lockinfo.plex. Reported by: dougb --- sbin/vinum/list.c | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'sbin/vinum/list.c') diff --git a/sbin/vinum/list.c b/sbin/vinum/list.c index e901d68..041ec38 100644 --- a/sbin/vinum/list.c +++ b/sbin/vinum/list.c @@ -39,7 +39,7 @@ * otherwise) arising in any way out of the use of this software, even if * advised of the possibility of such damage. * - * $Id: list.c,v 1.23 2000/03/01 02:38:55 grog Exp grog $ + * $Id: list.c,v 1.25 2000/12/20 03:38:43 grog Exp grog $ * $FreeBSD$ */ @@ -999,26 +999,23 @@ vinum_info(int argc, char *argv[], char *argv0[]) break; case loginfo_lockwait: - printf("%s Lockwait %p\t%d\t 0x%x\n", + printf("%s Lockwait %p\t 0x%x\n", timetext(&rq.timestamp), rq.bp, - rq.info.lockinfo.plexno, rq.info.lockinfo.stripe); break; case loginfo_lock: - printf("%s Lock %p\t%d\t 0x%x\n", + printf("%s Lock %p\t 0x%x\n", timetext(&rq.timestamp), rq.bp, - rq.info.lockinfo.plexno, rq.info.lockinfo.stripe); break; case loginfo_unlock: - printf("%s Unlock\t %p\t%d\t 0x%x\n", + printf("%s Unlock\t %p\t 0x%x\n", timetext(&rq.timestamp), rq.bp, - rq.info.lockinfo.plexno, rq.info.lockinfo.stripe); break; } @@ -1250,7 +1247,7 @@ vinum_dumpconfig(int argc, char *argv[], char *argv0[]) struct devstat *stat = &statinfo.dinfo->devices[i]; if (((stat->device_type & DEVSTAT_TYPE_MASK) == DEVSTAT_TYPE_DIRECT) /* disk device */ -&&((stat->device_type & DEVSTAT_TYPE_PASS) == 0) /* and not passthrough */ + &&((stat->device_type & DEVSTAT_TYPE_PASS) == 0) /* and not passthrough */ &&((stat->device_name[0] != '\0'))) { /* and it has a name */ sprintf(enamelist, "/dev/%s%d", stat->device_name, stat->unit_number); token[tokens] = enamelist; /* point to it */ @@ -1306,7 +1303,7 @@ dumpconfig(char *part) } for (partition = 'a'; partition < 'i'; partition++) { if ((partition != 'c') /* it's not the c partition */ -&&((label.d_partitions[partition - 'a'].p_fstype == FS_VINUM) /* and it's a Vinum partition */ + &&((label.d_partitions[partition - 'a'].p_fstype == FS_VINUM) /* and it's a Vinum partition */ ||Verbose)) { /* or we're just plain curious */ sprintf(partid, "s%d%c", slice, partition); found = check_drive(partname); /* try to open it */ @@ -1337,7 +1334,7 @@ dumpconfig(char *part) } for (partition = 'a'; partition < 'i'; partition++) { /* try the compatibility partition */ if ((partition != 'c') /* it's not the c partition */ -&&((label.d_partitions[partition - 'a'].p_fstype == FS_VINUM) /* and it's a Vinum partition */ + &&((label.d_partitions[partition - 'a'].p_fstype == FS_VINUM) /* and it's a Vinum partition */ ||Verbose)) { /* or we're just plain curious */ sprintf(partid, "%c", partition); found = check_drive(partname); /* try to open it */ -- cgit v1.1