Commit d75a6a0
NFSv4.1: Keep a reference on lock states while checking
While walking the list of lock_states, keep a reference on each
nfs4_lock_state to be checked, otherwise the lock state could be removed
while the check performs TEST_STATEID and possible FREE_STATEID.
Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>1 parent d41cbfc commit d75a6a0
1 file changed
Lines changed: 15 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2564 | 2564 | | |
2565 | 2565 | | |
2566 | 2566 | | |
2567 | | - | |
| 2567 | + | |
2568 | 2568 | | |
2569 | 2569 | | |
2570 | 2570 | | |
2571 | 2571 | | |
| 2572 | + | |
| 2573 | + | |
2572 | 2574 | | |
2573 | 2575 | | |
2574 | 2576 | | |
2575 | 2577 | | |
| 2578 | + | |
| 2579 | + | |
| 2580 | + | |
| 2581 | + | |
| 2582 | + | |
| 2583 | + | |
2576 | 2584 | | |
2577 | 2585 | | |
2578 | 2586 | | |
| |||
2585 | 2593 | | |
2586 | 2594 | | |
2587 | 2595 | | |
2588 | | - | |
| 2596 | + | |
| 2597 | + | |
2589 | 2598 | | |
| 2599 | + | |
2590 | 2600 | | |
2591 | | - | |
| 2601 | + | |
| 2602 | + | |
| 2603 | + | |
2592 | 2604 | | |
2593 | 2605 | | |
2594 | 2606 | | |
| |||
0 commit comments