Repository navigation
Commit 04cf7f7
NFSv4.1: Fix layoutcommit error handling
commit e59d27e 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>1 parent e5267d1 commit 04cf7f7
1 file changed
Lines changed: 13 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5983 | 5983 | | |
5984 | 5984 | | |
5985 | 5985 | | |
5986 | | - | |
5987 | | - | |
5988 | | - | |
5989 | | - | |
| 5986 | + | |
| 5987 | + | |
| 5988 | + | |
| 5989 | + | |
5990 | 5990 | | |
5991 | | - | |
5992 | | - | |
5993 | | - | |
5994 | | - | |
5995 | | - | |
5996 | | - | |
5997 | | - | |
5998 | | - | |
| 5991 | + | |
| 5992 | + | |
5999 | 5993 | | |
6000 | 5994 | | |
| 5995 | + | |
| 5996 | + | |
| 5997 | + | |
| 5998 | + | |
| 5999 | + | |
| 6000 | + | |
| 6001 | + | |
6001 | 6002 | | |
6002 | 6003 | | |
6003 | 6004 | | |
| |||
0 commit comments