diff options
author | kib <kib@FreeBSD.org> | 2012-06-02 18:44:40 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2012-06-02 18:44:40 +0000 |
commit | e32a51888c8ecea8864ed7973d94a54c7dadeebf (patch) | |
tree | 0391c9029eb85494d1de12268d467721a0f9778c /sys/kern/vfs_bio.c | |
parent | 5926081022f052f7ab0726cce418eb461282fafa (diff) | |
download | FreeBSD-src-e32a51888c8ecea8864ed7973d94a54c7dadeebf.zip FreeBSD-src-e32a51888c8ecea8864ed7973d94a54c7dadeebf.tar.gz |
Update the print mask for decoding b_flags. Add print masks for
b_vflags and b_xflags_t and print them as well.
MFC after: 1 week
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r-- | sys/kern/vfs_bio.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index ba8265a..694a372 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -3995,7 +3995,9 @@ DB_SHOW_COMMAND(buffer, db_show_buffer) } db_printf("buf at %p\n", bp); - db_printf("b_flags = 0x%b\n", (u_int)bp->b_flags, PRINT_BUF_FLAGS); + db_printf("b_flags = 0x%b b_xflags=0x%b b_vflags=0x%b\n", + (u_int)bp->b_flags, PRINT_BUF_FLAGS, (u_int)bp->b_xflags, + PRINT_BUF_XFLAGS, (u_int)bp->b_vflags, PRINT_BUF_VFLAGS); db_printf( "b_error = %d, b_bufsize = %ld, b_bcount = %ld, b_resid = %ld\n" "b_bufobj = (%p), b_data = %p, b_blkno = %jd, b_lblkno = %jd, " |