Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torvalds/linux.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2022-03-02 20:19:47 +0300
committerMike Snitzer <snitzer@redhat.com>2022-03-02 20:20:22 +0300
commit168678d765d3659fddffe80a70668488066a9569 (patch)
treeed40ae4ee2452b2af0bb1aabae2087ef10013390 /drivers/md
parent385411ffba0c3305491346b98ba4d2cd8063f002 (diff)
dm mpath: use DMINFO instead of printk with KERN_INFO
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/dm-mpath.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c
index 411403b3ec43..70ffe4efc03e 100644
--- a/drivers/md/dm-mpath.c
+++ b/drivers/md/dm-mpath.c
@@ -899,8 +899,7 @@ retain:
if (m->hw_handler_name) {
r = scsi_dh_attach(q, m->hw_handler_name);
if (r == -EBUSY) {
- printk(KERN_INFO "dm-mpath: retaining handler on device %pg\n",
- bdev);
+ DMINFO("retaining handler on device %pg", bdev);
goto retain;
}
if (r < 0) {