Skip to contentSkip to conversation

fault-injection: fix typo in failcmd.sh

PATCH New Sang-Heon Jeon 1 participant 1 message Nov 18 Fault injection support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fault-injection: fix typo in failcmd.sh

The failslab debugfs file is cache-filter, not cache_filter.

Fixes c24aa64d169b ("fault-injection: add tool to run command with failslab or fail_page_alloc")
---
 tools/testing/fault-injection/failcmd.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/fault-injection/failcmd.sh +1 -1
index c4f2432750f4..4b42808a065f 100755
@@ -196,7 +196,7 @@ while true; do
 		shift 2
 		;;
 	--cache-filter)
-		echo $2 > $FAULTATTR/cache_filter
+		echo $2 > $FAULTATTR/cache-filter
 		shift 2
 		;;
 	--ignore-gfp-highmem)

base-commit: dae384286c2852ba130604ccbd1bf5d9f732bd78

Signature · 1 line
2.53.0