summaryrefslogtreecommitdiff
path: root/fs/bcachefs/btree_gc.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2022-12-14 02:19:30 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:09:48 +0300
commit1ae40fd816ca6f52b46a8d74f799f8a85ecb92ad (patch)
tree4a1b8cb543c117d24c522861ce44a663e5cfa7b5 /fs/bcachefs/btree_gc.c
parent08f7803159f63e0ce5660acca061cbd6bac06166 (diff)
downloadlinux-1ae40fd816ca6f52b46a8d74f799f8a85ecb92ad.tar.xz
bcachefs: Fix error path in bch2_trans_commit_write_locked()
Previously, we were journalling extra_journal_entries (which is used for new btree roots, and irreversably mutates system state) before calling bch2_trans_fs_usage_apply(), which can fail - whoops. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_gc.c')
0 files changed, 0 insertions, 0 deletions