Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aeec1ca0 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "block: ratelimit handle_bad_sector() message"

parents 80aaf7bb 22a5b9ed
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -2133,8 +2133,8 @@ static void handle_bad_sector(struct bio *bio, sector_t maxsector)
{
	char b[BDEVNAME_SIZE];

	printk(KERN_INFO "attempt to access beyond end of device\n");
	printk(KERN_INFO "%s: rw=%d, want=%Lu, limit=%Lu\n",
	pr_info_ratelimited("attempt to access beyond end of device\n"
			    "%s: rw=%d, want=%Lu, limit=%Lu\n",
			    bio_devname(bio, b), bio->bi_opf,
			    (unsigned long long)bio_end_sector(bio),
			    (long long)maxsector);