blk-mq: Micro-optimize bt_get()
authorBart Van Assche <bvanassche@acm.org>
Tue, 9 Dec 2014 15:59:48 +0000 (16:59 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 9 Dec 2014 16:07:28 +0000 (09:07 -0700)
commit52f7eb945f2ba62b324bb9ae16d945326a961dcf
tree000158231baaf25480bc9adb50ba8dd7e37e646c
parentc38d185d4af12e8be63ca4b6745d99449c450f12
blk-mq: Micro-optimize bt_get()

Remove a superfluous finish_wait() call. Convert the two bt_wait_ptr()
calls into a single call.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Robert Elliott <elliott@hp.com>
Cc: Ming Lei <ming.lei@canonical.com>
Cc: Alexander Gordeev <agordeev@redhat.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq-tag.c