[dm-devel] [PATCH] select STACKTRACE if using it
Mikulas Patocka
mpatocka at redhat.com
Mon Sep 12 11:05:31 UTC 2011
dm-thinp: select STACKTRACE if using it
This patch selects option "STACKTRACE" if dm-thinp uses it. If we don't
select this option, it isn't included in the kernel and dm-thinp can't be
compiled.
Mikulas
Signed-off-by: Mikulas Patocka <mpatocka at redhat.com>
---
drivers/md/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Index: linux-3.1-rc3-fast/drivers/md/Kconfig
===================================================================
--- linux-3.1-rc3-fast.orig/drivers/md/Kconfig 2011-09-12 12:56:37.000000000 +0200
+++ linux-3.1-rc3-fast/drivers/md/Kconfig 2011-09-12 12:56:39.000000000 +0200
@@ -271,7 +271,8 @@ config DM_BLOCK_LOCKING
config DM_BLOCK_STACK_TRACING
boolean "Keep a stack trace of all lock holders"
- depends on DM_BLOCK_LOCKING
+ depends on DM_BLOCK_LOCKING && STACKTRACE_SUPPORT
+ select STACKTRACE
---help---
More information about the dm-devel
mailing list