Skip to content

Commit

Permalink
dm mpath: use DMINFO instead of printk with KERN_INFO
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
  • Loading branch information
Mike Snitzer committed Mar 2, 2022
1 parent 385411f commit 168678d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/md/dm-mpath.c
Original file line number Diff line number Diff line change
Expand Up @@ -899,8 +899,7 @@ static int setup_scsi_dh(struct block_device *bdev, struct multipath *m,
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) {
Expand Down

0 comments on commit 168678d

Please sign in to comment.