The test case block/031 now requires the loadable null_blk driver. This series allows it to run with the built-in null_blk driver. The first patch prepares for it. The second patch makes the change. Changes from v2: * 2nd patch: Improved the commit message and the inline comments * Added Reviewed-by tags Changes from v1: * Added null_blk driver status check in _have_null_blk_feature() Shin'ichiro Kawasaki (2): common/null_blk: introduce _have_null_blk_feature block/031: allow to run with built-in null_blk driver common/null_blk | 15 +++++++++++++++ tests/block/031 | 29 +++++++++++++++++++++-------- 2 files changed, 36 insertions(+), 8 deletions(-) -- 2.43.0