Skip to content

Commit a7722b8

Browse files
Chen NiMikulas Patocka
authored andcommitted
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: Chen Ni <[email protected]> Reviewed-by: Mike Snitzer <[email protected]> Signed-off-by: Mikulas Patocka <[email protected]>
1 parent a8fa648 commit a7722b8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

drivers/md/dm-integrity.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1500,15 +1500,15 @@ static void dm_integrity_flush_buffers(struct dm_integrity_c *ic, bool flush_dat
15001500
if (!ic->meta_dev)
15011501
flush_data = false;
15021502
if (flush_data) {
1503-
fr.io_req.bi_opf = REQ_OP_WRITE | REQ_PREFLUSH | REQ_SYNC,
1504-
fr.io_req.mem.type = DM_IO_KMEM,
1505-
fr.io_req.mem.ptr.addr = NULL,
1506-
fr.io_req.notify.fn = flush_notify,
1503+
fr.io_req.bi_opf = REQ_OP_WRITE | REQ_PREFLUSH | REQ_SYNC;
1504+
fr.io_req.mem.type = DM_IO_KMEM;
1505+
fr.io_req.mem.ptr.addr = NULL;
1506+
fr.io_req.notify.fn = flush_notify;
15071507
fr.io_req.notify.context = &fr;
1508-
fr.io_req.client = dm_bufio_get_dm_io_client(ic->bufio),
1509-
fr.io_reg.bdev = ic->dev->bdev,
1510-
fr.io_reg.sector = 0,
1511-
fr.io_reg.count = 0,
1508+
fr.io_req.client = dm_bufio_get_dm_io_client(ic->bufio);
1509+
fr.io_reg.bdev = ic->dev->bdev;
1510+
fr.io_reg.sector = 0;
1511+
fr.io_reg.count = 0;
15121512
fr.ic = ic;
15131513
init_completion(&fr.comp);
15141514
r = dm_io(&fr.io_req, 1, &fr.io_reg, NULL, IOPRIO_DEFAULT);

0 commit comments

Comments
 (0)