From 6c8910f8270da36a0e1276fae7c81167d50cc724 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Wed, 1 Jun 2022 08:48:34 +0200 Subject: [PATCH] common: do not require loop support to be modular Use _have_driver instead of _have_modules in _have_loop as nothing requires the loop driver to be modular. Signed-off-by: Christoph Hellwig Reviewed-by: Shin'ichiro Kawasaki Signed-off-by: Shin'ichiro Kawasaki --- common/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/rc b/common/rc index eb794a2..ff3d679 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.49.0