bcachefs: Convert split_devs() to darray
Bit of cleanup & modernization: also moving this code to util.c, it'llbe used by userspace as well.Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Kent Overstreet 2 years ago 806ebf2a 0c0ba8e9