Share code between init_request_from_bio and blk_rq_bio_prep
authorNeilBrown <neilb@suse.de>
Thu, 16 Aug 2007 11:31:30 +0000 (13:31 +0200)
committerJens Axboe <axboe@carl.home.kernel.dk>
Wed, 10 Oct 2007 07:25:56 +0000 (09:25 +0200)
commitbc1c56fde6dd1c85e2047c276456c07bd4508b5c
tree1e9fb5fd927a33a4d63180f386b7e4385f613ed1
parent66846572bfb4ec62bcba260028cbbcbdb77bd636
Share code between init_request_from_bio and blk_rq_bio_prep

These have very similar functions and should share code where
possible.

Signed-off-by: Neil Brown <neilb@suse.de>
diff .prev/block/ll_rw_blk.c ./block/ll_rw_blk.c
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/ll_rw_blk.c