Commit a154154
bcachefs: Release transaction before wake up
We will get this if we wake up first:
Kernel panic - not syncing: btree_node_write_done leaked btree_trans
since there are still transactions waiting for cycle detectors after
BTREE_NODE_write_in_flight is cleared.
Signed-off-by: Alan Huang <[email protected]>
Signed-off-by: Kent Overstreet <[email protected]>1 parent 0151d10 commit a154154
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1838 | 1838 | | |
1839 | 1839 | | |
1840 | 1840 | | |
1841 | | - | |
1842 | | - | |
1843 | 1841 | | |
| 1842 | + | |
1844 | 1843 | | |
| 1844 | + | |
| 1845 | + | |
1845 | 1846 | | |
1846 | 1847 | | |
1847 | 1848 | | |
| |||
0 commit comments