diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2021-12-04 19:38:25 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-12-04 19:38:25 +0300 |
commit | bbef3c7a63d2a4cb0f3f839db9e767f168c5e348 (patch) | |
tree | e2e04c0b5bff5b866e8a9577921e964949ad4425 /drivers | |
parent | 8b9a02280ebe209ae14fc478b0285745544a257c (diff) | |
parent | e3f9387aea67742b9d1f4de8e5bb2fd08a8a4584 (diff) | |
download | linux-bbef3c7a63d2a4cb0f3f839db9e767f168c5e348.tar.xz |
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
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/block/loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/loop.c b/drivers/block/loop.c index a154cab6cd98..c3a36cfaa855 100644 --- a/drivers/block/loop.c +++ b/drivers/block/loop.c @@ -2103,7 +2103,7 @@ static int loop_control_remove(int idx) int ret; if (idx < 0) { - pr_warn("deleting an unspecified loop device is not supported.\n"); + pr_warn_once("deleting an unspecified loop device is not supported.\n"); return -EINVAL; } |