projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75812e7
)
bcachefs: Fix journal shutdown path
author
Kent Overstreet
<kent.overstreet@gmail.com>
Fri, 10 May 2019 15:58:00 +0000
(11:58 -0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:21 +0000
(17:08 -0400)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/journal.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/journal.c
b/fs/bcachefs/journal.c
index 25d0631c43dd9b44a295dbf2445f9d9fa78fdbbb..0261c6bbfa929d67cfc86a61cd9072bc2652b2f3 100644
(file)
--- a/
fs/bcachefs/journal.c
+++ b/
fs/bcachefs/journal.c
@@
-959,6
+959,8
@@
void bch2_fs_journal_stop(struct journal *j)
{
struct bch_fs *c = container_of(j, struct bch_fs, journal);
+ bch2_journal_flush_all_pins(j);
+
wait_event(j->wait, journal_entry_close(j));
/* do we need to write another journal entry? */