• NeilBrown's avatar
    New function blk_req_append_bio · 3001ca77
    NeilBrown authored
    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: default avatarNeil Brown <neilb@suse.de>
    diff .prev/block/ll_rw_blk.c ./block/ll_rw_blk.c
    Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
ll_rw_blk.c 105 KB