bcachefs: bch2_dev_rcu_noerror()
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 1 Sep 2024 22:12:26 +0000 (18:12 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 21 Sep 2024 15:39:48 +0000 (11:39 -0400)
commit805ddc204287e74ebd2640c0f088e04f94e98b48
tree9c10193e84cba7da633ad0434fb4e57948577767
parentb99a94fd7ae91951d4f96b39e6ff50ac2fa8decb
bcachefs: bch2_dev_rcu_noerror()

bch2_dev_rcu() now properly errors if the device is invalid

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/alloc_background.h
fs/bcachefs/backpointers.c
fs/bcachefs/buckets.c
fs/bcachefs/extents.c
fs/bcachefs/replicas.c
fs/bcachefs/sb-members.h