Commit 9c13cc9
Revert "bcachefs: Fix bch2_btree_node_upgrade()"
This reverts commit 62448af.
six_lock_tryupgrade fails only if there is an intent lock held,
it won't fail no matter how many read locks are held.
Signed-off-by: Alan Huang <[email protected]>
Signed-off-by: Kent Overstreet <[email protected]>1 parent c72deb0 commit 9c13cc9
1 file changed
+4
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
515 | | - | |
516 | 515 | | |
517 | 516 | | |
518 | 517 | | |
| |||
536 | 535 | | |
537 | 536 | | |
538 | 537 | | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | | - | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
552 | 542 | | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | | - | |
557 | 543 | | |
558 | 544 | | |
559 | 545 | | |
| |||
0 commit comments