[PATCH 07/23] blk: Use a function for whether block devices are available