freebsd-dev/sys/fs/specfs
Poul-Henning Kamp 45c5890054 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.
2002-11-01 15:32:12 +00:00
..
spec_vnops.c Put a KASSERT in specfs::strategy() to check that the incoming buffer 2002-11-01 15:32:12 +00:00