commit | 9204e9dd40ce207074419e60f66922ce47bb1b79 | [log] [tgz] |
---|---|---|
author | Kent Overstreet <kmo@daterainc.com> | Mon Sep 23 23:17:26 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Oct 05 07:13:09 2013 -0700 |
tree | eb74a261d8b282a8b71544dc782b8d4c273b0321 | |
parent | 8c15abc94c737f9120d3d4a550abbcbb9be121f6 [diff] |
block: Fix bio_copy_data() commit 2f6cf0de0281d210061ce976f2d42d246adc75bb upstream. The memcpy() in bio_copy_data() was using the wrong offset vars, leading to data corruption in weird unusual setups. Signed-off-by: Kent Overstreet <kmo@daterainc.com> Cc: Jens Axboe <axboe@kernel.dk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>