]> git.karo-electronics.de Git - linux-beck.git/commit
block: Add bio_end_sector()
authorKent Overstreet <koverstreet@google.com>
Tue, 25 Sep 2012 22:05:12 +0000 (15:05 -0700)
committerKent Overstreet <koverstreet@google.com>
Sat, 23 Mar 2013 21:15:29 +0000 (14:15 -0700)
commitf73a1c7d117d07a96d89475066188a2b79e53c48
treeb2343926df6cf7877ee398ba485a962148b67804
parentfb9e3534768c1daa0bd09dd00d1a8828e15079c8
block: Add bio_end_sector()

Just a little convenience macro - main reason to add it now is preparing
for immutable bio vecs, it'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: Lars Ellenberg <drbd-dev@lists.linbit.com>
CC: Jiri Kosina <jkosina@suse.cz>
CC: Alasdair Kergon <agk@redhat.com>
CC: dm-devel@redhat.com
CC: Neil Brown <neilb@suse.de>
CC: Martin Schwidefsky <schwidefsky@de.ibm.com>
CC: Heiko Carstens <heiko.carstens@de.ibm.com>
CC: linux-s390@vger.kernel.org
CC: Chris Mason <chris.mason@fusionio.com>
CC: Steven Whitehouse <swhiteho@redhat.com>
Acked-by: Steven Whitehouse <swhiteho@redhat.com>
15 files changed:
block/blk-core.c
block/cfq-iosched.c
block/deadline-iosched.c
drivers/block/brd.c
drivers/block/pktcdvd.c
drivers/md/dm-stripe.c
drivers/md/dm-verity.c
drivers/md/faulty.c
drivers/md/linear.c
drivers/md/raid1.c
drivers/md/raid5.c
drivers/s390/block/dcssblk.c
fs/btrfs/extent_io.c
fs/gfs2/lops.c
include/linux/bio.h