summaryrefslogtreecommitdiff
path: root/fs/bcachefs/btree_update.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-08-05 23:08:44 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:10:10 +0300
commit401585fe87c2359f7aa24a309ec90e2589da9b46 (patch)
tree0cd91d890b896f62b56911660e68f6521da1a522 /fs/bcachefs/btree_update.c
parenta37ad1a3aba957b20c8c434a88c1724e49409eb3 (diff)
downloadlinux-401585fe87c2359f7aa24a309ec90e2589da9b46.tar.xz
bcachefs: btree_journal_iter.c
Split out a new file from recovery.c for managing the list of keys we read from the journal: before journal replay finishes the btree iterator code needs to be able to iterate over and return keys from the journal as well, so there's a fair bit of code here. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_update.c')
-rw-r--r--fs/bcachefs/btree_update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/btree_update.c b/fs/bcachefs/btree_update.c
index 366929da58a0..612fba60be14 100644
--- a/fs/bcachefs/btree_update.c
+++ b/fs/bcachefs/btree_update.c
@@ -3,6 +3,7 @@
#include "bcachefs.h"
#include "btree_update.h"
#include "btree_iter.h"
+#include "btree_journal_iter.h"
#include "btree_locking.h"
#include "buckets.h"
#include "debug.h"
@@ -10,7 +11,6 @@
#include "error.h"
#include "extents.h"
#include "keylist.h"
-#include "recovery.h"
#include "subvolume.h"
#include "trace.h"