Forum | Documentation | Website | Blog

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

bcachefs: Fix race in bch2_accounting_mem_insert()


bch2_accounting_mem_insert() drops and retakes mark_lock; thus, we need
to check if the entry in question has already been inserted.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 49858d86
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment