Skip to content

Commit 5434ee8

Browse files
ntsironMike Snitzer
authored andcommitted
dm clone: Fix typo in block_device format specifier
Use %pg for printing the block device name, instead of %pd. Fixes: 385411f ("dm: stop using bdevname") Cc: [email protected] # v5.18+ Signed-off-by: Nikos Tsironis <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
1 parent 99f4f5b commit 5434ee8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/md/dm-clone-target.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2035,7 +2035,7 @@ static void disable_passdown_if_not_supported(struct clone *clone)
20352035
reason = "max discard sectors smaller than a region";
20362036

20372037
if (reason) {
2038-
DMWARN("Destination device (%pd) %s: Disabling discard passdown.",
2038+
DMWARN("Destination device (%pg) %s: Disabling discard passdown.",
20392039
dest_dev, reason);
20402040
clear_bit(DM_CLONE_DISCARD_PASSDOWN, &clone->flags);
20412041
}

0 commit comments

Comments
 (0)