From: Christoph Hellwig Date: Thu, 21 Aug 2014 16:09:17 +0000 (-0500) Subject: nfs: cap request size to fit a kmalloced page array X-Git-Tag: fixes-for-v3.18-merge-window~10^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e11f8296d22134c4fca7eb022eea2b09facd307;p=pandora-kernel.git nfs: cap request size to fit a kmalloced page array pNFS servers may return arbitrarily large layouts. Trim back the I/O size to one that we can at least allocate the page array for. Signed-off-by: Christoph Hellwig Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed