Commit bbef3c7a authored by Linus Torvalds's avatar Linus Torvalds
Browse files

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
parents 8b9a0228 e3f9387a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}