bcachefs: Turn c->state_lock into an rwsem

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2020-06-15 14:58:47 -04:00 • committed by Kent Overstreet
commit 1ada160618
7 changed files with 50 additions and 57 deletions