]> err.no Git - linux-2.6/commit
New function blk_req_append_bio
authorNeilBrown <neilb@suse.de>
Thu, 16 Aug 2007 11:31:27 +0000 (13:31 +0200)
committerJens Axboe <axboe@carl.home.kernel.dk>
Wed, 10 Oct 2007 07:25:56 +0000 (09:25 +0200)
commit3001ca77128273cc5634d79f5306ce2e5a14ec41
tree0e5904fc170afb6c01f8f0930e3c4a4ae20b19b2
parenteea9befaccb8d43ce89585d612159761c978f056
New function blk_req_append_bio

ll_back_merge_fn is currently exported to SCSI where is it used,
together with blk_rq_bio_prep, in exactly the same way these
functions are used in __blk_rq_map_user.

So move the common code into a new function (blk_rq_append_bio), and
don't export ll_back_merge_fn any longer.

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/scsi/scsi_lib.c
include/linux/blkdev.h