From: Trond Myklebust Date: Tue, 27 Mar 2012 22:22:19 +0000 (-0400) Subject: NFSv4.1: Fix layoutcommit error handling X-Git-Tag: v3.4-rc1~51^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e59d27e05a6435f8c04d5ad843f37fa795f2eaaa;p=pandora-kernel.git NFSv4.1: Fix layoutcommit error handling Firstly, task->tk_status will always return negative error values, so the current tests for 'NFS4ERR_DELEG_REVOKED' etc. are all being ignored. Secondly, clean up the code so that we only need to test task->tk_status once! Signed-off-by: Trond Myklebust Cc: stable@vger.kernel.org --- Reading git-diff-tree failed