]> git.baikalelectronics.ru Git - kernel.git/commit
block/loop: queue ordered mode should be DRAIN_FLUSH
authorTejun Heo <tj@kernel.org>
Fri, 3 Sep 2010 09:56:16 +0000 (11:56 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Fri, 10 Sep 2010 10:35:36 +0000 (12:35 +0200)
commit9f79d1a157115f9128697d4c78142e500229cc49
tree30b5f242f44d168be44da37878ea3ba3bd5f659a
parent5fc144a7e7dab7d5f854c3016f2064152158f899
block/loop: queue ordered mode should be DRAIN_FLUSH

loop implements FLUSH using fsync but was incorrectly setting its
ordered mode to DRAIN.  Change it to DRAIN_FLUSH.  In practice, this
doesn't change anything as loop doesn't make use of the block layer
ordered implementation.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
drivers/block/loop.c