btrfs: Kill some bi_idx references
authorKent Overstreet <koverstreet@google.com>
Tue, 11 Sep 2012 20:23:05 +0000 (14:23 -0600)
committerChris Mason <chris.mason@fusionio.com>
Mon, 1 Oct 2012 19:19:21 +0000 (15:19 -0400)
commitbe3940c0a90265654d778394cafe2e2cec674df8
treea2d662e47bf1b8291f5285a3a5194a7ef1294cdf
parent962197babeccc1f4cc8aa28ad844df80bdc85ed0
btrfs: Kill some bi_idx references

For immutable bio vecs, I've been auditing and removing bi_idx
references. These were harmless, but removing them will make auditing
easier.

scrub_bio_end_io_worker() was open coding a bio_reset() - but this
doesn't appear to have been needed for anything as right after it does a
bio_put(), and perusing the code it doesn't appear anything else was
holding a reference to the bio.

The other use end_bio_extent_readpage() was just for a pr_debug() -
changed it to something that might be a bit more useful.

Signed-off-by: Kent Overstreet <koverstreet@google.com>
CC: Chris Mason <chris.mason@oracle.com>
CC: Stefan Behrens <sbehrens@giantdisaster.de>
fs/btrfs/extent_io.c
fs/btrfs/scrub.c