diff options
author | Kent Overstreet <koverstreet@google.com> | 2012-09-04 18:23:14 -0400 |
---|---|---|
committer | Kent Overstreet <koverstreet@google.com> | 2013-03-23 17:15:31 -0400 |
commit | 4f2ac93c175c4922bdddbfec6cad94b32cea0070 (patch) | |
tree | ce9df811f8a59c3af8486ee20fdc9d36fe5bfd25 /drivers/md/raid10.c | |
parent | 5b83636ae3c3b4f87d02a5929ad4dee831534db0 (diff) |
block: Remove bi_idx references
For immutable bvecs, all bi_idx usage needs to be audited - so here
we're removing all the unnecessary uses.
Most of these are places where it was being initialized on a bio that
was just allocated, a few others are conversions to standard macros.
Signed-off-by: Kent Overstreet <koverstreet@google.com>
CC: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/raid10.c')
-rw-r--r-- | drivers/md/raid10.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/md/raid10.c b/drivers/md/raid10.c index 2e29df960bf5..6ffb6c08aec5 100644 --- a/drivers/md/raid10.c +++ b/drivers/md/raid10.c | |||
@@ -4386,7 +4386,6 @@ read_more: | |||
4386 | read_bio->bi_flags &= ~(BIO_POOL_MASK - 1); | 4386 | read_bio->bi_flags &= ~(BIO_POOL_MASK - 1); |
4387 | read_bio->bi_flags |= 1 << BIO_UPTODATE; | 4387 | read_bio->bi_flags |= 1 << BIO_UPTODATE; |
4388 | read_bio->bi_vcnt = 0; | 4388 | read_bio->bi_vcnt = 0; |
4389 | read_bio->bi_idx = 0; | ||
4390 | read_bio->bi_size = 0; | 4389 | read_bio->bi_size = 0; |
4391 | r10_bio->master_bio = read_bio; | 4390 | r10_bio->master_bio = read_bio; |
4392 | r10_bio->read_slot = r10_bio->devs[r10_bio->read_slot].devnum; | 4391 | r10_bio->read_slot = r10_bio->devs[r10_bio->read_slot].devnum; |