diff options
author | Petr Vandrovec <petr@vandrovec.name> | 2008-11-19 11:12:14 +0100 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-12-03 12:41:20 +0100 |
commit | 53cc0b2948bcb8a084982e6c1f9bd7b337e0df38 (patch) | |
tree | e2d4ca231035de3a14f47b97f6c9196fc375340c /block/genhd.c | |
parent | f6f7b52e2f6149d2ee365717afff315b05720162 (diff) | |
download | linux-53cc0b2948bcb8a084982e6c1f9bd7b337e0df38.tar.bz2 |
When block layer fails to map iov, it calls bio_unmap_user to undo
mapping. Which is good if pages were mapped - but if they were provided
by someone else and just copied then bad things happen - pages are
released once here, and once by caller, leading to user triggerable BUG
at include/linux/mm.h:246.
Signed-off-by: Petr Vandrovec <petr@vandrovec.name>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/genhd.c')
0 files changed, 0 insertions, 0 deletions