From: Anton Blanchard Date: Wed, 4 Jun 2014 00:48:48 +0000 (+1000) Subject: powerpc: 64bit sendfile is capped at 2GB X-Git-Tag: omap-for-v3.16/fixes-against-rc1~60^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d73320a96fcce80286f1447864c481b5f0b96fa;p=pandora-kernel.git powerpc: 64bit sendfile is capped at 2GB commit 8f9c0119d7ba (compat: fs: Generic compat_sys_sendfile implementation) changed the PowerPC 64bit sendfile call from sys_sendile64 to sys_sendfile. Unfortunately this broke sendfile of lengths greater than 2G because sys_sendfile caps at MAX_NON_LFS. Restore what we had previously which fixes the bug. Cc: stable@vger.kernel.org Signed-off-by: Anton Blanchard Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed