block: move flush initialization to blk_flush_init
authorMing Lei <ming.lei@canonical.com>
Thu, 25 Sep 2014 15:23:41 +0000 (23:23 +0800)
committerJens Axboe <axboe@fb.com>
Thu, 25 Sep 2014 21:22:37 +0000 (15:22 -0600)
commit3c09676c12b1dabf84acbb5849bfc54acadaf092
tree48dc1cd699cd175dc3370a464d34bd6d814fe1e7
parentf355265571440a7db16e784b6edf4e7d26971a03
block: move flush initialization to blk_flush_init

These fields are always used with the flush request, so
initialize them together.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-core.c
block/blk-flush.c