From: Peng Tao Date: Fri, 11 Sep 2015 03:14:06 +0000 (+0800) Subject: nfs: fix pg_test page count calculation X-Git-Tag: omap-for-v4.3/fixes-rc5~87^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=048883e0b934d9a5103d40e209cb14b7f33d2933;p=pandora-kernel.git nfs: fix pg_test page count calculation We really want sizeof(struct page *) instead. Otherwise we limit maximum IO size to 64 pages rather than 512 pages on a 64bit system. Fixes 2e11f829(nfs: cap request size to fit a kmalloced page array). Cc: Christoph Hellwig Signed-off-by: Peng Tao Fixes: 2e11f8296d22 ("nfs: cap request size to fit a kmalloced page array") Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed