Commit df56ddd
Trond Myklebust
NFSv4.x: Directory delegations don't require any state recovery
The state recovery code in nfs_end_delegation_return() is intended to
allow regular files to recover cached open and lock state. It has no
function for directory delegations, and may cause corruption.
Fixes: 156b094 ("NFS: Request a directory delegation on ACCESS, CREATE, and UNLINK")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>1 parent 3f77eda commit df56ddd
2 files changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
581 | 581 | | |
582 | 582 | | |
583 | 583 | | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
584 | 588 | | |
585 | 589 | | |
586 | 590 | | |
| |||
604 | 608 | | |
605 | 609 | | |
606 | 610 | | |
| 611 | + | |
607 | 612 | | |
608 | 613 | | |
609 | 614 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1445 | 1445 | | |
1446 | 1446 | | |
1447 | 1447 | | |
| 1448 | + | |
| 1449 | + | |
1448 | 1450 | | |
1449 | 1451 | | |
1450 | 1452 | | |
| |||
1466 | 1468 | | |
1467 | 1469 | | |
1468 | 1470 | | |
1469 | | - | |
| 1471 | + | |
1470 | 1472 | | |
1471 | 1473 | | |
1472 | 1474 | | |
| |||
1478 | 1480 | | |
1479 | 1481 | | |
1480 | 1482 | | |
| 1483 | + | |
| 1484 | + | |
1481 | 1485 | | |
1482 | 1486 | | |
1483 | 1487 | | |
| |||
0 commit comments