aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
authorChengyu Song <csong84@gatech.edu>2015-03-25 16:37:07 -0400
committerJ. Bruce Fields <bfields@redhat.com>2015-03-31 16:46:39 -0400
commit629b8729cc2ca8fde7deb008dab09f3ad19fed52 (patch)
treeb23a6c247a4403df8ec11f2606e547961837685c /fs/nfsd
parent4229789993ee23bf35ee87546655bbbb6013569a (diff)
nfsd: NFSD_FAULT_INJECTION depends on DEBUG_FS
NFSD_FAULT_INJECTION depends on DEBUG_FS, otherwise the debugfs_create_* interface may return unexpected error -ENODEV, and cause system crash. Signed-off-by: Chengyu Song <csong84@gatech.edu> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd')
-rw-r--r--fs/nfsd/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/Kconfig b/fs/nfsd/Kconfig
index 683bf718aead..8b87b7a0eab5 100644
--- a/fs/nfsd/Kconfig
+++ b/fs/nfsd/Kconfig
@@ -107,7 +107,7 @@ config NFSD_V4_SECURITY_LABEL
107 107
108config NFSD_FAULT_INJECTION 108config NFSD_FAULT_INJECTION
109 bool "NFS server manual fault injection" 109 bool "NFS server manual fault injection"
110 depends on NFSD_V4 && DEBUG_KERNEL 110 depends on NFSD_V4 && DEBUG_KERNEL && DEBUG_FS
111 help 111 help
112 This option enables support for manually injecting faults 112 This option enables support for manually injecting faults
113 into the NFS server. This is intended to be used for 113 into the NFS server. This is intended to be used for