debugfs entries for configuration [bug fix]
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(-)
lib/should_fail_knobs.c +2 -2
@@ -124,13 +124,13 @@ static struct should_fail_knobs fail_makstatic 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 }