Skip to content

Commit bbef3c7

Browse files
committed
Merge tag 'block-5.16-2021-12-03' of git://git.kernel.dk/linux-block
Pull block fix from Jens Axboe: "A single fix for repeated printk spam from loop" * tag 'block-5.16-2021-12-03' of git://git.kernel.dk/linux-block: loop: Use pr_warn_once() for loop_control_remove() warning
2 parents 8b9a022 + e3f9387 commit bbef3c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/block/loop.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2103,7 +2103,7 @@ static int loop_control_remove(int idx)
21032103
int ret;
21042104

21052105
if (idx < 0) {
2106-
pr_warn("deleting an unspecified loop device is not supported.\n");
2106+
pr_warn_once("deleting an unspecified loop device is not supported.\n");
21072107
return -EINVAL;
21082108
}
21092109

0 commit comments

Comments
 (0)