We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ecc56c commit 069adbaCopy full SHA for 069adba
block/blk-core.c
@@ -592,10 +592,9 @@ static inline int bio_check_eod(struct bio *bio)
592
(nr_sectors > maxsector ||
593
bio->bi_iter.bi_sector > maxsector - nr_sectors)) {
594
pr_info_ratelimited("%s: attempt to access beyond end of device\n"
595
- "%pg: rw=%d, want=%llu, limit=%llu\n",
596
- current->comm,
597
- bio->bi_bdev, bio->bi_opf,
598
- bio_end_sector(bio), maxsector);
+ "%pg: rw=%d, sector=%llu, nr_sectors = %u limit=%llu\n",
+ current->comm, bio->bi_bdev, bio->bi_opf,
+ bio->bi_iter.bi_sector, nr_sectors, maxsector);
599
return -EIO;
600
}
601
return 0;
0 commit comments