summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-03-27 18:22:19 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-02 10:32:22 -0700
commit0d4a2605688aa7dc5b70ce0135ff45547c8e0825 (patch)
treef7ced4da38c32745fa87f1be189ae578a0228487 /kernel
parent8633c0f77dae2f0aae7fb38782402b32734e9675 (diff)
downloadlwn-0d4a2605688aa7dc5b70ce0135ff45547c8e0825.tar.gz
lwn-0d4a2605688aa7dc5b70ce0135ff45547c8e0825.zip
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 <Trond.Myklebust@netapp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions