block: factor our bio_check_eod()
authorJens Axboe <jens.axboe@oracle.com>
Wed, 18 Jul 2007 11:27:58 +0000 (13:27 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 16 Oct 2007 09:03:55 +0000 (11:03 +0200)
commitc07e2b41291853b19fff11ceee3657df252a4e42
tree3d21930b1ea62615b5b1312edf6bdc5d1ef616e1
parenta0cd128542cd9c67f27458a08e989db486a293ce
block: factor our bio_check_eod()

End of device check is done twice in __generic_make_request() and it's
fully inlined each time.  Factor out bio_check_eod().

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/ll_rw_blk.c