block: Use bio_sectors() more consistently
authorKent Overstreet <koverstreet@google.com>
Tue, 5 Feb 2013 23:19:29 +0000 (15:19 -0800)
committerKent Overstreet <koverstreet@google.com>
Sat, 23 Mar 2013 21:15:30 +0000 (14:15 -0700)
commitaa8b57aa3d1c06ca53312294ee6dfc767ee3ddb3
treea5921d44756d32e0555a8ae284db3c16a8386860
parentf73a1c7d117d07a96d89475066188a2b79e53c48
block: Use bio_sectors() more consistently

Bunch of places in the code weren't using it where they could be -
this'll reduce the size of the patch that puts bi_sector/bi_size/bi_idx
into a struct bvec_iter.

Signed-off-by: Kent Overstreet <koverstreet@google.com>
CC: Jens Axboe <axboe@kernel.dk>
CC: "Ed L. Cashin" <ecashin@coraid.com>
CC: Nick Piggin <npiggin@kernel.dk>
CC: Jiri Kosina <jkosina@suse.cz>
CC: Jim Paris <jim@jtan.com>
CC: Geoff Levand <geoff@infradead.org>
CC: Alasdair Kergon <agk@redhat.com>
CC: dm-devel@redhat.com
CC: Neil Brown <neilb@suse.de>
CC: Steven Rostedt <rostedt@goodmis.org>
Acked-by: Ed Cashin <ecashin@coraid.com>
drivers/block/pktcdvd.c
drivers/md/dm-raid1.c
drivers/md/raid0.c
drivers/md/raid1.c
drivers/md/raid10.c
drivers/md/raid5.c
fs/btrfs/volumes.c
include/trace/events/block.h