OSDN Git Service

fault-inject: fix build error when FAULT_INJECTION_CONFIGFS=y and CONFIGFS_FS=m
authorAkinobu Mita <akinobu.mita@gmail.com>
Sat, 15 Apr 2023 12:57:05 +0000 (21:57 +0900)
committerJens Axboe <axboe@kernel.dk>
Sun, 16 Apr 2023 19:01:42 +0000 (13:01 -0600)
commitd325c162631eb7c21f244f48184f3c8ace868039
treee86262582a4f06f92db0813a8f602944c2adc04b
parent9f4107b07b17b5ee68af680150f91227bea2df6f
fault-inject: fix build error when FAULT_INJECTION_CONFIGFS=y and CONFIGFS_FS=m

This fixes a build error when CONFIG_FAULT_INJECTION_CONFIGFS=y and
CONFIG_CONFIGFS_FS=m.

Since the fault-injection library cannot built as a module, avoid building
configfs as a module.

Fixes: 4668c7a2940d ("fault-inject: allow configuration via configfs")
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/oe-kbuild-all/202304150025.K0hczLR4-lkp@intel.com/
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
lib/Kconfig.debug