bcachefs: ob_dev()
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 1 May 2024 00:38:05 +0000 (20:38 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Wed, 8 May 2024 21:29:23 +0000 (17:29 -0400)
commit8783856ab15e9ad6faea8df3b72658f4cd2325c3
treeab3e02aaab6048b014df389c5c061fb57d1b9d02
parentdbd0408087853c7842aa21f58f99d395eff02544
bcachefs: ob_dev()

Wrapper around bch2_dev_have_ref() for open_buckets; we do guarantee
that the device an open_bucket points to exists.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/alloc_foreground.c
fs/bcachefs/alloc_foreground.h
fs/bcachefs/ec.c
fs/bcachefs/sb-members.h