bcachefs: Hold usage_lock over mark_key and fs_usage_apply

Fixes an inconsistency at the end of gc

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2018-11-22 22:50:35 -05:00 • committed by Kent Overstreet
commit eeb83e25bb
5 changed files with 104 additions and 60 deletions