Skip to content
Snippets Groups Projects
Commit 5132b99b authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Kill __bch2_accounting_mem_mod()


The next patch will be adding a disk accounting counter type which is
not kept in the in-memory eytzinger tree.

As prep, fold __bch2_accounting_mem_mod() into
bch2_accounting_mem_mod_locked() so that we can check for that counter
type and bail out without calling bpos_to_disk_accounting_pos() twice.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent d97de0d0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment