Commit 9fdf500
committed
mds/SimpleLock: add is_xlocked_by()
This eliminates more reference counter manipulations.
Signed-off-by: Max Kellermann <[email protected]>1 parent fc48d88 commit 9fdf500
3 files changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
235 | | - | |
| 235 | + | |
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8524 | 8524 | | |
8525 | 8525 | | |
8526 | 8526 | | |
8527 | | - | |
| 8527 | + | |
8528 | 8528 | | |
8529 | 8529 | | |
8530 | 8530 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
468 | 468 | | |
469 | 469 | | |
470 | 470 | | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
471 | 474 | | |
472 | 475 | | |
473 | 476 | | |
| |||
0 commit comments