aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2013-03-01 17:45:45 -0500
committerAlasdair G Kergon <agk@redhat.com>2013-03-01 17:45:45 -0500
commit3daec3b447bcb894c5725e433f7331f4cdae5b0b (patch)
treef5c262fca55a06811569795e5d31e514251127f6 /drivers/md
parentd2ce70a119f844225c10f133f8b957d540027b0f (diff)
dm bufio: use WRITE_FLUSH instead of REQ_FLUSH
Use WRITE_FLUSH instead of REQ_FLUSH for submitted requests to make it consistent with the rest of the kernel. There is no functional change. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/dm-bufio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-bufio.c b/drivers/md/dm-bufio.c
index 93205e32a004..3c955e10a618 100644
--- a/drivers/md/dm-bufio.c
+++ b/drivers/md/dm-bufio.c
@@ -1192,7 +1192,7 @@ EXPORT_SYMBOL_GPL(dm_bufio_write_dirty_buffers);
1192int dm_bufio_issue_flush(struct dm_bufio_client *c) 1192int dm_bufio_issue_flush(struct dm_bufio_client *c)
1193{ 1193{
1194 struct dm_io_request io_req = { 1194 struct dm_io_request io_req = {
1195 .bi_rw = REQ_FLUSH, 1195 .bi_rw = WRITE_FLUSH,
1196 .mem.type = DM_IO_KMEM, 1196 .mem.type = DM_IO_KMEM,
1197 .mem.ptr.addr = NULL, 1197 .mem.ptr.addr = NULL,
1198 .client = c->dm_io, 1198 .client = c->dm_io,