block: re-use existing 'reading' variable instead of checking direction again
authormajianpeng <majianpeng@gmail.com>
Wed, 21 Dec 2011 14:27:24 +0000 (15:27 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 21 Dec 2011 14:27:24 +0000 (15:27 +0100)
commit609f6ea1c9cdfe0c43a927e13205a57d0c266d5a
tree4bb34c0004e1650ee44f23105dc9362908470282
parent6ae0516b8a50ece5d766be608a305707e0450060
block: re-use existing 'reading' variable instead of checking direction again

Signed-off-by: majianpeng <majianpeng@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-map.c