bcachefs: New helpers for device refcounts
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 3 May 2024 21:39:16 +0000 (17:39 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Wed, 8 May 2024 21:29:22 +0000 (17:29 -0400)
commitf295298b8c6413f0ed2a5a69dd7f32409cc54f1d
treea3266d3a851dad863746331a28400a86205331c2
parente98786ea855cb28176e27ffce23fb163a36ed32e
bcachefs: New helpers for device refcounts

This will be used in the next patch for adding some new debug mode
asserts.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/alloc_background.c
fs/bcachefs/alloc_foreground.c
fs/bcachefs/btree_gc.c
fs/bcachefs/buckets.c
fs/bcachefs/chardev.c
fs/bcachefs/data_update.c
fs/bcachefs/disk_groups.c
fs/bcachefs/sb-members.h
fs/bcachefs/super.c