diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2007-08-16 07:43:12 -0400 |
---|---|---|
committer | Jens Axboe <axboe@carl.home.kernel.dk> | 2007-10-10 03:25:56 -0400 |
commit | 6c92e699b56287da582ccb12a64b959b6d6109ba (patch) | |
tree | ac8c9f26640ff8b35cd96f8222f8ce84ba2c53e5 /drivers/s390/block/dasd_eckd.c | |
parent | bc1c56fde6dd1c85e2047c276456c07bd4508b5c (diff) |
Fixup rq_for_each_segment() indentation
Remove one level of nesting where appropriate.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/s390/block/dasd_eckd.c')
-rw-r--r-- | drivers/s390/block/dasd_eckd.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/drivers/s390/block/dasd_eckd.c b/drivers/s390/block/dasd_eckd.c index 36ba45849874..44adf8496bda 100644 --- a/drivers/s390/block/dasd_eckd.c +++ b/drivers/s390/block/dasd_eckd.c | |||
@@ -1206,14 +1206,13 @@ dasd_eckd_build_cp(struct dasd_device * device, struct request *req) | |||
1206 | count = 0; | 1206 | count = 0; |
1207 | cidaw = 0; | 1207 | cidaw = 0; |
1208 | rq_for_each_segment(bv, req, iter) { | 1208 | rq_for_each_segment(bv, req, iter) { |
1209 | if (bv->bv_len & (blksize - 1)) | 1209 | if (bv->bv_len & (blksize - 1)) |
1210 | /* Eckd can only do full blocks. */ | 1210 | /* Eckd can only do full blocks. */ |
1211 | return ERR_PTR(-EINVAL); | 1211 | return ERR_PTR(-EINVAL); |
1212 | count += bv->bv_len >> (device->s2b_shift + 9); | 1212 | count += bv->bv_len >> (device->s2b_shift + 9); |
1213 | #if defined(CONFIG_64BIT) | 1213 | #if defined(CONFIG_64BIT) |
1214 | if (idal_is_needed (page_address(bv->bv_page), | 1214 | if (idal_is_needed (page_address(bv->bv_page), bv->bv_len)) |
1215 | bv->bv_len)) | 1215 | cidaw += bv->bv_len >> (device->s2b_shift + 9); |
1216 | cidaw += bv->bv_len >> (device->s2b_shift + 9); | ||
1217 | #endif | 1216 | #endif |
1218 | } | 1217 | } |
1219 | /* Paranoia. */ | 1218 | /* Paranoia. */ |