Re: [patch 5/6] debugfs entries for configuration [bug fix]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Don Mullis <[email protected]>

---
 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
 }
 


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux