Commit d72b796
NFSv4: Fix clearing of layout segments in layoutreturn
Make sure that we clear the layout segments in cases where we see a
fatal error, and also in the case where the layout is invalid.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>1 parent a017ad1 commit d72b796
2 files changed
+8
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9998 | 9998 | | |
9999 | 9999 | | |
10000 | 10000 | | |
| 10001 | + | |
10001 | 10002 | | |
10002 | 10003 | | |
10003 | 10004 | | |
| |||
10011 | 10012 | | |
10012 | 10013 | | |
10013 | 10014 | | |
10014 | | - | |
10015 | | - | |
10016 | | - | |
| 10015 | + | |
| 10016 | + | |
| 10017 | + | |
| 10018 | + | |
| 10019 | + | |
10017 | 10020 | | |
10018 | 10021 | | |
10019 | 10022 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1284 | 1284 | | |
1285 | 1285 | | |
1286 | 1286 | | |
1287 | | - | |
1288 | | - | |
| 1287 | + | |
1289 | 1288 | | |
1290 | | - | |
| 1289 | + | |
1291 | 1290 | | |
1292 | 1291 | | |
1293 | 1292 | | |
| |||
0 commit comments