block: let blk_end_request_all handle bidi requests
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Mon, 11 May 2009 08:56:07 +0000 (17:56 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 11 May 2009 09:06:47 +0000 (11:06 +0200)
commit1822952ba2b9f22f79019d07ebbeca31dc14b718
treede3a727e811f33bc908cd6c4d2f0cf5a1693dab3
parent9934c8c04561413609d2bc38c6b9f268cba774a4
block: let blk_end_request_all handle bidi requests

blk_end_request_all() and __blk_end_request_all() should finish all
bytes including bidi, by definition. That's what all bidi users need ,
bidi requests must be complete as a whole (partial completion is
impossible).

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
include/linux/blkdev.h