Use _have_driver instead of _have_modules in _have_loop as nothing requires the loop driver to be modular. Signed-off-by: Christoph Hellwig <hch@xxxxxx> --- common/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/rc b/common/rc index ffd15b6..d71a81e 100644 --- a/common/rc +++ b/common/rc @@ -128,7 +128,7 @@ _have_src_program() { } _have_loop() { - _have_modules loop && _have_program losetup + _have_driver loop && _have_program losetup } _have_blktrace() { -- 2.30.2