From: Weston Andros Adamson Date: Thu, 15 May 2014 15:56:51 +0000 (-0400) Subject: nfs: chain calls to pg_test X-Git-Tag: omap-for-v3.16/fixes-against-rc1~64^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f9c429eca07aca2764ccd751e2b48ba5397b936;p=pandora-kernel.git nfs: chain calls to pg_test Now that pg_test can change the size of the request (by returning a non-zero size smaller than the request), pg_test functions that call other pg_test functions must return the minimum of the result - or 0 if any fail. Also clean up the logic of some pg_test functions so that all checks are for contitions where coalescing is not possible. Signed-off-by: Weston Andros Adamson Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed