diff options
author | Kent Overstreet <koverstreet@google.com> | 2012-09-05 17:31:42 -0700 |
---|---|---|
committer | Kent Overstreet <koverstreet@google.com> | 2013-03-23 14:15:31 -0700 |
commit | 2f477877f8c4be18f054aeb7c4be8cc748cfe932 (patch) | |
tree | ade275970fd1282cafc6d47753564c821020be8a /include/linux/bio.h | |
parent | 4f2ac93c175c4922bdddbfec6cad94b32cea0070 (diff) | |
download | blackbird-op-linux-2f477877f8c4be18f054aeb7c4be8cc748cfe932.tar.gz blackbird-op-linux-2f477877f8c4be18f054aeb7c4be8cc748cfe932.zip |
block: Remove some unnecessary bi_vcnt usage
More prep work for immutable bvecs/effecient bio splitting - usage of
bi_vcnt has to be auditing, so getting rid of all the unnecessary usage
makes that easier.
Plus, bio_segments() is really what this code wanted, as it respects the
current value of bi_idx.
Signed-off-by: Kent Overstreet <koverstreet@google.com>
CC: Jens Axboe <axboe@kernel.dk>
CC: Eric Moore <Eric.Moore@lsi.com>
CC: "James E.J. Bottomley" <JBottomley@parallels.com>
CC: linux-scsi@vger.kernel.org
Diffstat (limited to 'include/linux/bio.h')
0 files changed, 0 insertions, 0 deletions