From: Mikulas Patocka Date: Fri, 1 Mar 2013 22:45:45 +0000 (+0000) Subject: dm bufio: use WRITE_FLUSH instead of REQ_FLUSH X-Git-Tag: firefly_0821_release~3680^2~972^2~25 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3daec3b447bcb894c5725e433f7331f4cdae5b0b;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Alasdair G Kergon --- 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); 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,