diff options
author | 2010-06-08 16:28:45 +0200 | |
---|---|---|
committer | 2010-06-10 19:08:34 +0200 | |
commit | 1d862f41222b7f385bada9f85a67ca5592ffd33e (patch) | |
tree | 924baccaa8a5a56610db5c66020847b457679736 /tools/perf/util/trace-event-scripting.c | |
parent | block: remove duplicate BUG_ON() in bd_finish_claiming() (diff) | |
download | linux-dev-1d862f41222b7f385bada9f85a67ca5592ffd33e.tar.xz linux-dev-1d862f41222b7f385bada9f85a67ca5592ffd33e.zip |
pipe: fix pipe buffer resizing
pipe_set_size() needs to copy pipe bufs from the old circular buffer
to the new.
The current code gets this wrong in multiple ways, resulting in oops.
Test program is available here:
http://www.kernel.org/pub/linux/kernel/people/mszeredi/piperesize/
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions