Stop exporting blk_rq_bio_prep
commit66846572bfb4ec62bcba260028cbbcbdb77bd636
authorNeilBrown <neilb@suse.de>
Thu, 16 Aug 2007 11:31:28 +0000 (16 13:31 +0200)
committerJens Axboe <axboe@carl.home.kernel.dk>
Wed, 10 Oct 2007 07:25:56 +0000 (10 09:25 +0200)
tree23a29655a22835a49bd1549524fc3b950a5bf261
parent3001ca77128273cc5634d79f5306ce2e5a14ec41
Stop exporting blk_rq_bio_prep

blk_rq_bio_prep is exported for use in exactly
one place.  That place can benefit from using
the new blk_rq_append_bio instead.
So
  - change dm-emc to call blk_rq_append_bio
  - stop exporting blk_rq_bio_prep, and
  - initialise rq_disk in blk_rq_bio_prep,
       as dm-emc needs it.

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
drivers/md/dm-emc.c
include/linux/blkdev.h