diff options
author | Matias Bjørling <m@bjorling.me> | 2015-12-06 05:25:51 -0500 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-12-07 11:14:20 -0500 |
commit | 4158624454db3756c1f1b3641f1ab4215e697936 (patch) | |
tree | d99d608a1a5c69f4ea1211f339784e3a62227aff /drivers/lightnvm | |
parent | 008b74438269b368d57a14452afbc194f7f9ff2f (diff) |
lightnvm: do not compile in debugging by default
The LightNVM module exposes a debug interface when CONFIG_NVM_DEBUG is
set. This interfaces takes a string to configure media managers and
targets. Make sure this interface is only exposed when chosen
deliberately.
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/lightnvm')
-rw-r--r-- | drivers/lightnvm/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/lightnvm/Kconfig b/drivers/lightnvm/Kconfig index a16bf56d3f28..85a339030e4b 100644 --- a/drivers/lightnvm/Kconfig +++ b/drivers/lightnvm/Kconfig | |||
@@ -18,6 +18,7 @@ if NVM | |||
18 | 18 | ||
19 | config NVM_DEBUG | 19 | config NVM_DEBUG |
20 | bool "Open-Channel SSD debugging support" | 20 | bool "Open-Channel SSD debugging support" |
21 | default n | ||
21 | ---help--- | 22 | ---help--- |
22 | Exposes a debug management interface to create/remove targets at: | 23 | Exposes a debug management interface to create/remove targets at: |
23 | 24 | ||