]> git.baikalelectronics.ru Git - kernel.git/commit
block: avoid to use q->flush_rq directly
authorMing Lei <ming.lei@canonical.com>
Thu, 25 Sep 2014 15:23:42 +0000 (23:23 +0800)
committerJens Axboe <axboe@fb.com>
Thu, 25 Sep 2014 21:22:38 +0000 (15:22 -0600)
commitffdb2e8e31af0c5f85b9b7867ec89ebef65b8ee8
tree35c64aea8aa76af4a375102458f39417473b545a
parentcfb1bda93235836742c97a77f01e8acc0e66c08a
block: avoid to use q->flush_rq directly

This patch trys to use local variable to access flush request,
so that we can convert to per-queue flush machinery a bit easier.

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-flush.c