Skip to content
Commit 2f6cf0de authored by Kent Overstreet's avatar Kent Overstreet Committed by Linus Torvalds
Browse files

block: Fix bio_copy_data()



The memcpy() in bio_copy_data() was using the wrong offset vars, leading
to data corruption in weird unusual setups.

Signed-off-by: default avatarKent Overstreet <kmo@daterainc.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: linux-stable <stable@vger.kernel.org> # >= v3.9
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 4a10c2ac
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment