diff options
| author | FUJITA Tomonori <[email protected]> | 2009-04-28 18:24:29 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2009-04-28 18:24:29 +0000 |
| commit | 69838727bcd819a8fd73a88447801221788b0c6d (patch) | |
| tree | 4fd6c31c1078ac079ea1ba0fa9cdf4aa581f06a7 /arch/m32r/include/asm/assembler.h | |
| parent | hd: fix locking (diff) | |
| download | kernel-69838727bcd819a8fd73a88447801221788b0c6d.tar.gz kernel-69838727bcd819a8fd73a88447801221788b0c6d.zip | |
bio: fix memcpy corruption in bio_copy_user_iov()
st driver uses blk_rq_map_user() in order to just build a request out
of page frames. In this case, map_data->offset is a non zero value and
iov[0].iov_base is NULL. We need to increase nr_pages for that.
Cc: [email protected]
Signed-off-by: FUJITA Tomonori <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'arch/m32r/include/asm/assembler.h')
0 files changed, 0 insertions, 0 deletions
