diff mbox series

common/fail_make_request: fix error message

Message ID 20240731114150.2259760-1-maharmstone@fb.com (mailing list archive)
State New, archived
Headers show
Series common/fail_make_request: fix error message | expand

Commit Message

Mark Harmstone July 31, 2024, 11:41 a.m. UTC
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 <maharmstone@fb.com>
---
 common/fail_make_request | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mark Harmstone Oct. 10, 2024, 3:27 p.m. UTC | #1
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

On 31/7/24 12:41, Mark Harmstone wrote:
> 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 <maharmstone@fb.com>
> ---
>   common/fail_make_request | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/common/fail_make_request b/common/fail_make_request
> index b5370ba6..56402021 100644
> --- a/common/fail_make_request
> +++ b/common/fail_make_request
> @@ -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()
Zorro Lang Oct. 11, 2024, 5:39 a.m. UTC | #2
On Wed, Jul 31, 2024 at 12:41:33PM +0100, Mark Harmstone wrote:
> 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 <maharmstone@fb.com>
> ---

Make sense to me. Maybe it want to write CONFIG_FAULT_INJECTION, anyway,

Reviewed-by: Zorro Lang <zlang@redhat.com>

>  common/fail_make_request | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/common/fail_make_request b/common/fail_make_request
> index b5370ba6..56402021 100644
> --- a/common/fail_make_request
> +++ b/common/fail_make_request
> @@ -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()
> -- 
> 2.44.2
> 
>
diff mbox series

Patch

diff --git a/common/fail_make_request b/common/fail_make_request
index b5370ba6..56402021 100644
--- a/common/fail_make_request
+++ b/common/fail_make_request
@@ -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()