From: Trond Myklebust Date: Tue, 27 Mar 2012 22:22:19 +0000 (-0400) Subject: NFSv4.1: Fix layoutcommit error handling X-Git-Tag: v3.2.14~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04cf7f7a565f0d2d2f5f3be56ceb6d680cba0f71;p=pandora-kernel.git NFSv4.1: Fix layoutcommit error handling commit e59d27e05a6435f8c04d5ad843f37fa795f2eaaa upstream. 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed