diff options
Diffstat (limited to 'sys/dev/aac/aac_disk.c')
-rw-r--r-- | sys/dev/aac/aac_disk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/aac/aac_disk.c b/sys/dev/aac/aac_disk.c index 0be6dcf..405b742 100644 --- a/sys/dev/aac/aac_disk.c +++ b/sys/dev/aac/aac_disk.c @@ -175,9 +175,9 @@ aac_disk_strategy(struct bio *bp) /* perform accounting */ /* pass the bio to the controller - it can work out who we are */ - AAC_LOCK_ACQUIRE(&sc->ad_controller->aac_io_lock); + mtx_lock(&sc->ad_controller->aac_io_lock); aac_submit_bio(bp); - AAC_LOCK_RELEASE(&sc->ad_controller->aac_io_lock); + mtx_unlock(&sc->ad_controller->aac_io_lock); return; } |