Repository navigation
Commit e59d27e
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.org1 parent 05e9cfb commit e59d27e
1 file changed
Lines changed: 13 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6112 | 6112 | | |
6113 | 6113 | | |
6114 | 6114 | | |
6115 | | - | |
6116 | | - | |
6117 | | - | |
6118 | | - | |
| 6115 | + | |
| 6116 | + | |
| 6117 | + | |
| 6118 | + | |
6119 | 6119 | | |
6120 | | - | |
6121 | | - | |
6122 | | - | |
6123 | | - | |
6124 | | - | |
6125 | | - | |
6126 | | - | |
6127 | | - | |
| 6120 | + | |
| 6121 | + | |
6128 | 6122 | | |
6129 | 6123 | | |
| 6124 | + | |
| 6125 | + | |
| 6126 | + | |
| 6127 | + | |
| 6128 | + | |
| 6129 | + | |
| 6130 | + | |
6130 | 6131 | | |
6131 | 6132 | | |
6132 | 6133 | | |
| |||
0 commit comments