diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2023-02-03 18:55:47 +0100 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2023-02-14 14:23:07 -0500 |
commit | 2e84fecf19e1694338deec8bf6c90ff84f8f31fb (patch) | |
tree | 20e9830cd79061f75a2f4769aef7053a91f12eab /drivers/md/dm-raid1.c | |
parent | 2d0f25cbc0d948e01573cc8ff5967e81bd98a4a1 (diff) | |
download | linux-2e84fecf19e1694338deec8bf6c90ff84f8f31fb.tar.gz linux-2e84fecf19e1694338deec8bf6c90ff84f8f31fb.tar.bz2 linux-2e84fecf19e1694338deec8bf6c90ff84f8f31fb.zip |
dm: avoid split of quoted strings where possible
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'drivers/md/dm-raid1.c')
-rw-r--r-- | drivers/md/dm-raid1.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/md/dm-raid1.c b/drivers/md/dm-raid1.c index 741141449f07..b20c0ad13712 100644 --- a/drivers/md/dm-raid1.c +++ b/drivers/md/dm-raid1.c @@ -239,8 +239,8 @@ static void fail_mirror(struct mirror *m, enum dm_raid1_error error_type) * Better to issue requests to same failing device * than to risk returning corrupt data. */ - DMERR("Primary mirror (%s) failed while out-of-sync: " - "Reads may fail.", m->dev->name); + DMERR("Primary mirror (%s) failed while out-of-sync: Reads may fail.", + m->dev->name); goto out; } @@ -526,8 +526,7 @@ static void read_callback(unsigned long error, void *context) fail_mirror(m, DM_RAID1_READ_ERROR); if (likely(default_ok(m)) || mirror_available(m->ms, bio)) { - DMWARN_LIMIT("Read failure on mirror device %s. " - "Trying alternative device.", + DMWARN_LIMIT("Read failure on mirror device %s. Trying alternative device.", m->dev->name); queue_bio(m->ms, bio, bio_data_dir(bio)); return; |