Commit a7722b82 authored by Chen Ni's avatar Chen Ni Committed by Mikulas Patocka

dm integrity: Convert comma to semicolon

Replace comma between expressions with semicolons.

Using a ',' in place of a ';' can have unintended side effects.
Although that is not the case here, it is seems best to use ';'
unless ',' is intended.

Found by inspection.
No functional change intended.
Compile tested only.
Signed-off-by: default avatarChen Ni <nichen@iscas.ac.cn>
Reviewed-by: default avatarMike Snitzer <snitzer@kernel.org>
Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
parent a8fa6483
...@@ -1500,15 +1500,15 @@ static void dm_integrity_flush_buffers(struct dm_integrity_c *ic, bool flush_dat ...@@ -1500,15 +1500,15 @@ static void dm_integrity_flush_buffers(struct dm_integrity_c *ic, bool flush_dat
if (!ic->meta_dev) if (!ic->meta_dev)
flush_data = false; flush_data = false;
if (flush_data) { if (flush_data) {
fr.io_req.bi_opf = REQ_OP_WRITE | REQ_PREFLUSH | REQ_SYNC, fr.io_req.bi_opf = REQ_OP_WRITE | REQ_PREFLUSH | REQ_SYNC;
fr.io_req.mem.type = DM_IO_KMEM, fr.io_req.mem.type = DM_IO_KMEM;
fr.io_req.mem.ptr.addr = NULL, fr.io_req.mem.ptr.addr = NULL;
fr.io_req.notify.fn = flush_notify, fr.io_req.notify.fn = flush_notify;
fr.io_req.notify.context = &fr; fr.io_req.notify.context = &fr;
fr.io_req.client = dm_bufio_get_dm_io_client(ic->bufio), fr.io_req.client = dm_bufio_get_dm_io_client(ic->bufio);
fr.io_reg.bdev = ic->dev->bdev, fr.io_reg.bdev = ic->dev->bdev;
fr.io_reg.sector = 0, fr.io_reg.sector = 0;
fr.io_reg.count = 0, fr.io_reg.count = 0;
fr.ic = ic; fr.ic = ic;
init_completion(&fr.comp); init_completion(&fr.comp);
r = dm_io(&fr.io_req, 1, &fr.io_reg, NULL, IOPRIO_DEFAULT); r = dm_io(&fr.io_req, 1, &fr.io_reg, NULL, IOPRIO_DEFAULT);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment