block: use blk_rq_init() to initialize the request
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Tue, 29 Apr 2008 07:54:37 +0000 (09:54 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 29 Apr 2008 12:48:55 +0000 (14:48 +0200)
commit4f54eec8311c3325888c29ce8e4496daf4dbe624
treee1bdf703cc0a5f91651216f6ae37cb34bd54cc6c
parent2a4aa30c5f967eb6ae874c67fa6fceeee84815f9
block: use blk_rq_init() to initialize the request

Any path needs to call it to initialize the request.

This is a preparation for large command support, which needs to
initialize the request in a proper way (that is, just doing a memset()
will not work).

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/nbd.c
drivers/block/paride/pd.c
drivers/scsi/scsi_error.c