From fd3fabd9561c3881a57fe0834795ab3cd0c429c8 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Thu, 2 Nov 2006 22:06:56 -0800 Subject: [PATCH] --- yaml --- r: 40642 b: refs/heads/master c: df66b8552be5fdab5c4b4d53ee08b99388b9bd02 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/block/ll_rw_blk.c | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index bb7e4ab44a8e..07453bf067c2 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7bd473fcc217adec000f213e8864bf9a161d57e1 +refs/heads/master: df66b8552be5fdab5c4b4d53ee08b99388b9bd02 diff --git a/trunk/block/ll_rw_blk.c b/trunk/block/ll_rw_blk.c index c7b1dac8bee9..9eaee6640535 100644 --- a/trunk/block/ll_rw_blk.c +++ b/trunk/block/ll_rw_blk.c @@ -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;