]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Use WRITE_FLUSH instead of REQ_FLUSH for submitted requests to make it
authorMikulas Patocka <mpatocka@redhat.com>
Wed, 13 Feb 2013 22:42:36 +0000 (09:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 13 Feb 2013 22:42:36 +0000 (09:42 +1100)
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>
drivers/md/dm-bufio.c

index 651ca79881dd5ce8bddaac4498d0134317e6c05c..f12fdbcc4f76135b6db527a8a7d3cc6bc2dc4814 100644 (file)
@@ -1193,7 +1193,7 @@ EXPORT_SYMBOL_GPL(dm_bufio_write_dirty_buffers);
 int dm_bufio_issue_flush(struct dm_bufio_client *c)
 {
        struct dm_io_request io_req = {
-               .bi_rw = REQ_FLUSH,
+               .bi_rw = WRITE_FLUSH,
                .mem.type = DM_IO_KMEM,
                .mem.ptr.addr = NULL,
                .client = c->dm_io,