diff options
Diffstat (limited to 'sys/dev/aac/aac_disk.c')
| -rw-r--r-- | sys/dev/aac/aac_disk.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/aac/aac_disk.c b/sys/dev/aac/aac_disk.c index 1a547ed039ab..284c1472d7ea 100644 --- a/sys/dev/aac/aac_disk.c +++ b/sys/dev/aac/aac_disk.c @@ -163,6 +163,11 @@ aac_disk_strategy(struct bio *bp) return; } + if ((bp->bio_cmd != BIO_READ) && (bp->bio_cmd != BIO_WRITE)) { + biofinish(bp, NULL, EOPNOTSUPP); + return; + } + /* perform accounting */ /* pass the bio to the controller - it can work out who we are */ |
