bcachefs: Refactor dev usage

This is to make it more amenable for serialization.

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 2021-01-21 20:51:51 -05:00 • committed by Kent Overstreet
commit 72eab8da47
9 changed files with 91 additions and 129 deletions