diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-11-24 02:51:27 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:09:46 +0300 |
commit | 4a390fec24a3d6f88678b43f2baa8ad9c2f0716c (patch) | |
tree | 69a5005d4005feba78e3ce3b546052e6138df653 /fs/bcachefs/fs-io.c | |
parent | abb936fb9f2ab4a447a266477d65e50d476277a5 (diff) | |
download | linux-4a390fec24a3d6f88678b43f2baa8ad9c2f0716c.tar.xz |
bcachefs: Kill some unneeded references to c->flags
This drops some unneeded references to JOURNAL_REPLAY_DONE in c->flags:
we're already mirroring it in btree_trans, we just weren't using it
consistently.
We may want to do this with more flags:
btree_iter.c: unsigned nr = test_bit(BCH_FS_STARTED, &c->flags)
btree_update_leaf.c: if (unlikely(!test_bit(BCH_FS_MAY_GO_RW, &c->flags))) {
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/fs-io.c')
0 files changed, 0 insertions, 0 deletions