]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0f2493f1e50a3a738c9405483a11a7ba77e10e4d
tree48dc1cd699cd175dc3370a464d34bd6d814fe1e7
parentfbd90c358128be1ff4fec05f5c8894e0d0db3b34
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