commit | e59d27e05a6435f8c04d5ad843f37fa795f2eaaa | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Tue Mar 27 18:22:19 2012 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Tue Mar 27 21:53:14 2012 -0400 |
tree | 217a19f29b5214d8b0e36dbe190c34140a01000f | |
parent | 05e9cfb408b24debb3a85fd98edbfd09dd148881 [diff] |
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 <Trond.Myklebust@netapp.com> Cc: stable@vger.kernel.org