blk-mq: Exit queue on alloc failure
authorKeith Busch <keith.busch@intel.com>
Sat, 20 Dec 2014 00:54:13 +0000 (17:54 -0700)
committerJens Axboe <axboe@fb.com>
Sat, 20 Dec 2014 17:33:53 +0000 (10:33 -0700)
commitc76541a932113faa5b3be65a3f0a3d4ebbc86aeb
tree7643e5fd0f52568f940401382b714c0314e2d1f4
parentecb5ec044ab99be1f35e93962fa43e4bb3120d9e
blk-mq: Exit queue on alloc failure

Fixes usage counter when a request could not be allocated.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c