aboutsummaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/btree_trans_commit.c
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2023-11-03 15:55:44 +0000
committerKent Overstreet <[email protected]>2023-11-05 02:19:13 +0000
commit5a53f851e6fe0e7cc41e682a4a9e40bb178fb80b (patch)
tree3ce3a9377c48989276eb90689ca77fba9697c281 /fs/bcachefs/btree_trans_commit.c
parentbcachefs: .get_parent() should return an error pointer (diff)
downloadkernel-5a53f851e6fe0e7cc41e682a4a9e40bb178fb80b.tar.gz
kernel-5a53f851e6fe0e7cc41e682a4a9e40bb178fb80b.zip
bcachefs: Fix recovery when forced to use JSET_NO_FLUSH journal entry
When we didn't find anything in the journal that we'd like to use, and we're forced to use whatever we can find - that entry will have been a JSET_NO_FLUSH entry with a garbage last_seq value, since it's not normally used. Initialize it to something sane, for bch2_fs_journal_start(). Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'fs/bcachefs/btree_trans_commit.c')
0 files changed, 0 insertions, 0 deletions