diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-02-23 06:56:35 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:25 -0400 |
commit | b66b2bc0f64a57c042ea1fa51dbd5904557bf67f (patch) | |
tree | 104a7d90c38fc3fb4b634b6f18188698ebd4e228 /fs/bcachefs/journal_io.c | |
parent | e201f70b116513cb0d17ba32e1f00c234dee9d7e (diff) | |
download | lwn-b66b2bc0f64a57c042ea1fa51dbd5904557bf67f.tar.gz lwn-b66b2bc0f64a57c042ea1fa51dbd5904557bf67f.zip |
bcachefs: Revert "Ensure journal doesn't get stuck in nochanges mode"
This patch was originally to work around the journal geting stuck in
nochanges mode - but that was just a hack, we needed to fix the actual
bug. It should be fixed now, so revert it.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/journal_io.c')
-rw-r--r-- | fs/bcachefs/journal_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/journal_io.c b/fs/bcachefs/journal_io.c index 43a60f5c23b3..b8fcc801a666 100644 --- a/fs/bcachefs/journal_io.c +++ b/fs/bcachefs/journal_io.c @@ -1616,7 +1616,7 @@ retry_alloc: w->devs_written = bch2_bkey_devs(bkey_i_to_s_c(&w->key)); - if (test_bit(JOURNAL_NOCHANGES, &j->flags)) + if (c->opts.nochanges) goto no_io; for_each_rw_member(ca, c, i) |