mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [patch 5/6] debugfs entries for configuration [bug fix]
@ 2006-09-06 16:07 Don Mullis
  0 siblings, 0 replies; only message in thread
From: Don Mullis @ 2006-09-06 16:07 UTC (permalink / raw)
  To: lkml

Fix compilation when (CONFIG_FAILSLAB=n ^ CONFIG_FAIL_MAKE_REQUEST=n).

Signed-off-by: Don Mullis <dwm@meer.net>

---
 lib/should_fail_knobs.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: linux-2.6.17/lib/should_fail_knobs.c
===================================================================
--- linux-2.6.17.orig/lib/should_fail_knobs.c
+++ linux-2.6.17/lib/should_fail_knobs.c
@@ -124,13 +124,13 @@ static struct should_fail_knobs fail_mak
 static void cleanup_knobs(void)
 {
 #ifdef CONFIG_FAILSLAB
-	cleanup_should_fail_knobs(&fail_make_request_knobs);
+	cleanup_should_fail_knobs(&failslab_knobs);
 #endif
 #ifdef CONFIG_FAIL_PAGE_ALLOC
 	cleanup_should_fail_knobs(&fail_page_alloc_knobs);
 #endif
 #ifdef CONFIG_FAIL_MAKE_REQUEST
-	cleanup_should_fail_knobs(&failslab_knobs);
+	cleanup_should_fail_knobs(&fail_make_request_knobs);
 #endif
 }
 



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-06 16:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-06 16:07 [patch 5/6] debugfs entries for configuration [bug fix] Don Mullis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome