commit | 337238be1bf52e1242f940fc6fe83fb395e55057 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Fri Sep 03 11:56:17 2010 +0200 |
committer | Jens Axboe <jaxboe@fusionio.com> | Fri Sep 10 12:35:37 2010 +0200 |
tree | cb3a81ebb1bb73aaac692f38d7d3e47007e39093 | |
parent | cde4c406d8fb051c5aafc917643adbb9dbd0abc2 [diff] |
block: initialize flush request with WRITE_FLUSH instead of REQ_FLUSH init_flush_request() only set REQ_FLUSH when initializing flush requests making them READ requests. Use WRITE_FLUSH instead. Signed-off-by: Tejun Heo <tj@kernel.org> Reported-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>