linux/fs/bcachefs
Kent Overstreet 1ba6f48f09 bcachefs: Fix nested transaction restart handling in bch2_bucket_gens_init()
Nested transaction restart handling is typically best avoided; when the
inner context handles a transaction restart it invalidates the outer
transaction context, so we need to make sure to return a
transaction_restart_nested error.

This code wasn't doing that, and hit the assertion in
for_each_btree_key() that checks for that via trans->restart_count.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-03-17 20:53:12 -04:00
..
2024-01-01 11:47:07 -05:00
2024-01-21 06:01:45 -05:00
2024-03-13 21:22:26 -04:00
2024-03-13 21:22:26 -04:00
2024-03-13 21:22:24 -04:00
2024-01-21 06:01:45 -05:00
2024-03-13 18:39:12 -04:00
2024-01-01 11:46:52 -05:00
2024-03-13 18:39:12 -04:00
2024-01-21 13:27:10 -05:00
2024-01-05 23:24:21 -05:00
2024-01-21 13:27:11 -05:00
2024-03-13 18:39:12 -04:00
2024-03-13 21:22:23 -04:00
2024-03-13 21:22:23 -04:00
2024-01-01 11:47:44 -05:00
2024-01-21 13:27:11 -05:00
2024-03-13 18:39:12 -04:00
2024-01-21 13:27:10 -05:00
2024-03-13 21:30:35 -04:00
2024-03-10 15:34:08 -04:00
2024-03-13 21:22:26 -04:00
2024-03-13 21:30:35 -04:00
2024-03-10 15:34:09 -04:00
2024-02-13 21:59:27 -05:00
2024-01-01 11:47:07 -05:00
2024-01-21 13:27:10 -05:00
2024-03-13 21:22:26 -04:00
2024-01-21 13:27:11 -05:00
2024-01-21 06:01:45 -05:00
2024-03-10 15:34:08 -04:00
2024-01-01 11:47:07 -05:00
2024-01-01 11:47:40 -05:00
2024-01-21 13:27:10 -05:00
2024-01-10 16:34:17 -08:00
2024-01-05 23:24:21 -05:00
2024-03-13 21:30:35 -04:00
2024-01-21 13:27:10 -05:00