diff options
author | phk <phk@FreeBSD.org> | 2000-03-20 17:12:45 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-03-20 17:12:45 +0000 |
commit | a6fcf562639131cd7feccfcbf90bfc53c1d50b14 (patch) | |
tree | a51222f073988007429bc768812b5254555c9d95 /sbin | |
parent | 1785dcce70505565c770065d4019b5100800d122 (diff) | |
download | FreeBSD-src-a6fcf562639131cd7feccfcbf90bfc53c1d50b14.zip FreeBSD-src-a6fcf562639131cd7feccfcbf90bfc53c1d50b14.tar.gz |
B_READ is gone, check for BIO_READ instead.
Not tested.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/vinum/list.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sbin/vinum/list.c b/sbin/vinum/list.c index b876cb0..5e55eeb 100644 --- a/sbin/vinum/list.c +++ b/sbin/vinum/list.c @@ -899,7 +899,7 @@ vinum_info(int argc, char *argv[], char *argv0[]) printf("%s %dVS %s %p\t%d.%-6d 0x%-9x\t%ld\n", timetext(&rq.timestamp), rq.type, - rq.info.b.b_flags & B_READ ? "Read " : "Write", + rq.info.b.b_iocmd == BIO_READ ? "Read " : "Write", rq.bp, rq.devmajor, rq.devminor, @@ -912,7 +912,7 @@ vinum_info(int argc, char *argv[], char *argv0[]) printf("%s %dLR %s %p\t%d.%-6d 0x%-9x\t%ld\n", timetext(&rq.timestamp), rq.type, - rq.info.b.b_flags & B_READ ? "Read " : "Write", + rq.info.b.b_iocmd == BIO_READ ? "Read " : "Write", rq.bp, rq.devmajor, rq.devminor, @@ -923,7 +923,7 @@ vinum_info(int argc, char *argv[], char *argv0[]) case loginfo_rqe: /* user RQE */ printf("%s 3RQ %s %p\t%d.%-6d 0x%-9x\t%ld\t%d\t%x\t%x\t%x\n", timetext(&rq.timestamp), - rq.info.rqe.b.b_flags & B_READ ? "Read " : "Write", + rq.info.b.b_iocmd == BIO_READ ? "Read " : "Write", rq.bp, rq.devmajor, rq.devminor, @@ -938,7 +938,7 @@ vinum_info(int argc, char *argv[], char *argv0[]) case loginfo_iodone: /* iodone called */ printf("%s 4DN %s %p\t%d.%-6d 0x%-9x\t%ld\t%d\t%x\t%x\t%x\n", timetext(&rq.timestamp), - rq.info.rqe.b.b_flags & B_READ ? "Read " : "Write", + rq.info.b.b_iocmd == BIO_READ ? "Read " : "Write", rq.bp, rq.devmajor, rq.devminor, @@ -953,7 +953,7 @@ vinum_info(int argc, char *argv[], char *argv0[]) case loginfo_raid5_data: /* RAID-5 write data block */ printf("%s 5RD %s %p\t%d.%-6d 0x%-9x\t%ld\t%d\t%x\t%x\t%x\n", timetext(&rq.timestamp), - rq.info.rqe.b.b_flags & B_READ ? "Read " : "Write", + rq.info.b.b_iocmd == BIO_READ ? "Read " : "Write", rq.bp, rq.devmajor, rq.devminor, @@ -968,7 +968,7 @@ vinum_info(int argc, char *argv[], char *argv0[]) case loginfo_raid5_parity: /* RAID-5 write parity block */ printf("%s 6RP %s %p\t%d.%-6d 0x%-9x\t%ld\t%d\t%x\t%x\t%x\n", timetext(&rq.timestamp), - rq.info.rqe.b.b_flags & B_READ ? "Read " : "Write", + rq.info.b.b_iocmd == BIO_READ ? "Read " : "Write", rq.bp, rq.devmajor, rq.devminor, @@ -984,7 +984,7 @@ vinum_info(int argc, char *argv[], char *argv0[]) printf("%s %dVS %s %p\t\t 0x%-9x\t%ld\t%d\n", timetext(&rq.timestamp), rq.type, - rq.info.b.b_flags & B_READ ? "Read " : "Write", + rq.info.b.b_iocmd == BIO_READ ? "Read " : "Write", rq.bp, rq.info.b.b_blkno, rq.info.b.b_bcount, @@ -995,7 +995,7 @@ vinum_info(int argc, char *argv[], char *argv0[]) printf("%s %dDN %s %p\t\t 0x%-9x\t%ld\t%d\n", timetext(&rq.timestamp), rq.type, - rq.info.b.b_flags & B_READ ? "Read " : "Write", + rq.info.b.b_iocmd == BIO_READ ? "Read " : "Write", rq.bp, rq.info.b.b_blkno, rq.info.b.b_bcount, |