diff options
author | Ming Lei <tom.leiming@gmail.com> | 2014-11-11 17:15:41 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-11-12 00:24:15 +0100 |
commit | 7f60dcaaf91e911002007c7ae885ff6ef0f36c0d (patch) | |
tree | f2bff26f97cc3123ea2741714d0b1ba0658e16ba /security | |
parent | scsi: Fix more error handling in SCSI_IOCTL_SEND_COMMAND (diff) | |
download | linux-7f60dcaaf91e911002007c7ae885ff6ef0f36c0d.tar.xz linux-7f60dcaaf91e911002007c7ae885ff6ef0f36c0d.zip |
block: blk-merge: fix blk_recount_segments()
For cloned bio, bio->bi_vcnt can't be used at all, and we
have resort to bio_segments() to figure out how many
segment there are in the bio.
Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions