summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/write_i386_disk.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-11-01 15:32:12 +0000
committerphk <phk@FreeBSD.org>2002-11-01 15:32:12 +0000
commit85539f2f6cf7db5cdb12846675492a4ab0bfeae0 (patch)
tree300c1a2d2779db4dce526e0a803ee5abd7d9f636 /lib/libdisk/write_i386_disk.c
parentb7e16f352965af4600c8c6494610b0a649a404d1 (diff)
downloadFreeBSD-src-85539f2f6cf7db5cdb12846675492a4ab0bfeae0.zip
FreeBSD-src-85539f2f6cf7db5cdb12846675492a4ab0bfeae0.tar.gz
Put a KASSERT in specfs::strategy() to check that the incoming buffer
has a valid b_iocmd. Valid is any one of BIO_{READ,WRITE,DELETE}. I have seen at least one case where the bio_cmd field was zero once the request made it into GEOM. Putting the KASSERT here allows us to spot the culprit in the backtrace.
Diffstat (limited to 'lib/libdisk/write_i386_disk.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud