common/fail_make_request: fix error message
PATCH 1/1 common/fail_make_request: fix error message
fail_make_request depends on the kernel option CONFIG_FAIL_MAKE_REQUEST to function, not CONFIG_FAULT_INJECTION_DEBUG_FS.
Signed-off-by Mark Harmstone <[email protected]>
--- common/fail_make_request | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
common/fail_make_request +1 -1
@@ -7,7 +7,7 @@ _require_fail_make_request() { [ -f "$DEBUGFS_MNT/fail_make_request/probability" ] \ || _notrun "$DEBUGFS_MNT/fail_make_request \ - not found. Seems that CONFIG_FAULT_INJECTION_DEBUG_FS kernel config option not enabled" + not found. Seems that CONFIG_FAIL_MAKE_REQUEST kernel config option not enabled" } _allow_fail_make_request()
Signature · 1 line
2.44.2
Would someone mind accepting this patch please? This incorrect error message keeps tripping me up whenever I'm trying to configure a kernel to work with fstests.
Thanks
Quoted 21 lines · Mark Harmstone
fail_make_requestdepends on the kernel optionCONFIG_FAIL_MAKE_REQUESTto function, notCONFIG_FAULT_INJECTION_DEBUG_FS.Signed-off-by Mark Harmstone <[email protected]>--- common/fail_make_request | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)common/fail_make_request +1
-1@@ -7,7 +7,7 @@ _require_fail_make_request() { [ -f "$DEBUGFS_MNT/fail_make_request/probability" ] \ || _notrun "$DEBUGFS_MNT/fail_make_request \ - not found. Seems that CONFIG_FAULT_INJECTION_DEBUG_FS kernel config option not enabled" + not found. Seems that CONFIG_FAIL_MAKE_REQUEST kernel config option not enabled" } _allow_fail_make_request()
Quoted 5 lines · Mark Harmstone
fail_make_requestdepends on the kernel optionCONFIG_FAIL_MAKE_REQUESTto function, notCONFIG_FAULT_INJECTION_DEBUG_FS.Signed-off-by Mark Harmstone <[email protected]>---
Make sense to me. Maybe it want to write CONFIG_FAULT_INJECTION, anyway,
Reviewed-by Zorro Lang <[email protected]>
Quoted 20 lines
common/fail_make_request | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)common/fail_make_request +1
-1@@ -7,7 +7,7 @@ _require_fail_make_request() { [ -f "$DEBUGFS_MNT/fail_make_request/probability" ] \ || _notrun "$DEBUGFS_MNT/fail_make_request \ - not found. Seems that CONFIG_FAULT_INJECTION_DEBUG_FS kernel config option not enabled" + not found. Seems that CONFIG_FAIL_MAKE_REQUEST kernel config option not enabled" } _allow_fail_make_request()Signature · 1 line
2.44.2