block: fixup rq_init() a bit
authorJens Axboe <jens.axboe@oracle.com>
Fri, 8 Feb 2008 11:41:03 +0000 (12:41 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 8 Feb 2008 11:41:03 +0000 (12:41 +0100)
commit63a7138671c50a6f2c27bbd1a308dc75967062a3
tree6d8b0d9cbc05bce2848299b61528cabc6d04d267
parenta4ffc0a0b240a29cbe489f6db9dae112a49ef1c1
block: fixup rq_init() a bit

Rearrange fields in cache order and initialize some fields that
we didn't previously init. Remove init of ->completion_data, it's
part of a union with ->hash. Luckily clearing the rb node is the same
as setting it to null!

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-core.c
include/linux/blkdev.h