From: Ming Lei Date: Wed, 4 Jun 2014 16:23:55 +0000 (+0800) Subject: block: mq flush: clear flush_rq's tag in flush_end_io() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~56^2~19^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14b83e172f0bc83b8dcf78ee8b1844beeffb418d;p=pandora-kernel.git block: mq flush: clear flush_rq's tag in flush_end_io() blk_mq_tag_to_rq() needs to be able to tell if it should return the original request, or the flush request if we are doing a flush sequence. Clear the flush tag when IO completes for a flush, since that is what we are comparing against. Signed-off-by: Ming Lei Signed-off-by: Jens Axboe --- Reading git-diff-tree failed