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/block/ps3disk.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/block/ps3disk.c')
-rw-r--r-- | drivers/block/ps3disk.c | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/drivers/block/ps3disk.c b/drivers/block/ps3disk.c index 8953e7ce0016..06d0552cf49c 100644 --- a/drivers/block/ps3disk.c +++ b/drivers/block/ps3disk.c | |||
@@ -105,16 +105,15 @@ static void ps3disk_scatter_gather(struct ps3_storage_device *dev, | |||
105 | bio_sectors(iter.bio), | 105 | bio_sectors(iter.bio), |
106 | (unsigned long)iter.bio->bi_sector); | 106 | (unsigned long)iter.bio->bi_sector); |
107 | 107 | ||
108 | size = bvec->bv_len; | 108 | size = bvec->bv_len; |
109 | buf = bvec_kmap_irq(bvec, &flags); | 109 | buf = bvec_kmap_irq(bvec, &flags); |
110 | if (gather) | 110 | if (gather) |
111 | memcpy(dev->bounce_buf+offset, buf, size); | 111 | memcpy(dev->bounce_buf+offset, buf, size); |
112 | else | 112 | else |
113 | memcpy(buf, dev->bounce_buf+offset, size); | 113 | memcpy(buf, dev->bounce_buf+offset, size); |
114 | offset += size; | 114 | offset += size; |
115 | flush_kernel_dcache_page(bvec->bv_page); | 115 | flush_kernel_dcache_page(bvec->bv_page); |
116 | bvec_kunmap_irq(bvec, &flags); | 116 | bvec_kunmap_irq(bvec, &flags); |
117 | |||
118 | i++; | 117 | i++; |
119 | } | 118 | } |
120 | } | 119 | } |