libosd: Use of new blk_make_request
authorBoaz Harrosh <bharrosh@panasas.com>
Sun, 17 May 2009 15:58:41 +0000 (18:58 +0300)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 19 May 2009 10:14:56 +0000 (12:14 +0200)
commitc29b70f6ee4f2fa3ef07f55bc9082945861e5391
tree5f030fe6468fbd9d6b5e95294aa7534effba4512
parent79eb63e9e5875b84341a3a05f8e6ae9cdb4bb6f6
libosd: Use of new blk_make_request

Use new blk_make_request() to allocate a request from bio
and avoid using deprecated blk_rq_append_bio().

This patch is dependent on a block layer patch titled:
    [BLOCK] New blk_make_request() takes bio returns request

This is the last usage of blk_rq_append_bio in osd, it can now
be un-exported.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
CC: Jeff Garzik <jeff@garzik.org>
CC: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/scsi/osd/osd_initiator.c