diff options
author | 2015-11-24 10:35:29 +0800 | |
---|---|---|
committer | 2015-11-23 20:16:51 -0700 | |
commit | 578270bfbd2803dc7b0b03fbc2ac119efbc73195 (patch) | |
tree | b326c3879cfde7498f2c3c257951f5ae67b19502 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | blk-mq: fix calling unplug callbacks with preempt disabled (diff) | |
download | wireguard-linux-578270bfbd2803dc7b0b03fbc2ac119efbc73195.tar.xz wireguard-linux-578270bfbd2803dc7b0b03fbc2ac119efbc73195.zip |
block: fix segment split
Inside blk_bio_segment_split(), previous bvec pointer(bvprvp)
always points to the iterator local variable, which is obviously
wrong, so fix it by pointing to the local variable of 'bvprv'.
Fixes: 5014c311baa2b(block: fix bogus compiler warnings in blk-merge.c)
Cc: stable@kernel.org #4.3
Reported-by: Michael Ellerman <mpe@ellerman.id.au>
Reported-by: Mark Salter <msalter@redhat.com>
Tested-by: Laurent Dufour <ldufour@linux.vnet.ibm.com>
Tested-by: Mark Salter <msalter@redhat.com>
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions