From: Miklos Szeredi Date: Tue, 8 Jun 2010 14:28:45 +0000 (+0200) Subject: pipe: fix pipe buffer resizing X-Git-Tag: v2.6.35-rc3~11^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d862f41222b7f385bada9f85a67ca5592ffd33e;p=pandora-kernel.git 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 Signed-off-by: Jens Axboe --- Reading git-diff-tree failed