Loading block/ll_rw_blk.c +5 −4 Original line number Diff line number Diff line Loading @@ -3075,11 +3075,12 @@ void generic_make_request(struct bio *bio) if (maxsector) { sector_t sector = bio->bi_sector; if (maxsector < nr_sectors || maxsector - nr_sectors < sector) { if (maxsector < nr_sectors || maxsector - nr_sectors < sector) { /* * This may well happen - partitions are not checked * to make sure they are within the size of the * whole device. * This may well happen - partitions are not * checked to make sure they are within the size * of the whole device. */ handle_bad_sector(bio); goto end_io; Loading Loading
block/ll_rw_blk.c +5 −4 Original line number Diff line number Diff line Loading @@ -3075,11 +3075,12 @@ void generic_make_request(struct bio *bio) if (maxsector) { sector_t sector = bio->bi_sector; if (maxsector < nr_sectors || maxsector - nr_sectors < sector) { if (maxsector < nr_sectors || maxsector - nr_sectors < sector) { /* * This may well happen - partitions are not checked * to make sure they are within the size of the * whole device. * This may well happen - partitions are not * checked to make sure they are within the size * of the whole device. */ handle_bad_sector(bio); goto end_io; Loading