From: Miklos Szeredi Date: Tue, 13 Dec 2011 09:36:59 +0000 (+0100) Subject: fuse: fix fuse_retrieve X-Git-Tag: v3.2-rc6~17^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48706d0a91583d08c56e7ef2a7602d99c8d4133f;p=pandora-kernel.git fuse: fix fuse_retrieve Fix two bugs in fuse_retrieve(): - retrieving more than one page would yield repeated instances of the first page - if more than FUSE_MAX_PAGES_PER_REQ pages were requested than the request page array would overflow fuse_retrieve() was added in 2.6.36 and these bugs had been there since the beginning. Signed-off-by: Miklos Szeredi CC: stable@vger.kernel.org --- Reading git-diff-tree failed