From: Chengyu Song Date: Wed, 25 Mar 2015 20:37:07 +0000 (-0400) Subject: nfsd: NFSD_FAULT_INJECTION depends on DEBUG_FS X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=629b8729cc2ca8fde7deb008dab09f3ad19fed52;p=linux-beck.git 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 Signed-off-by: J. Bruce Fields --- 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 config NFSD_FAULT_INJECTION bool "NFS server manual fault injection" - depends on NFSD_V4 && DEBUG_KERNEL + depends on NFSD_V4 && DEBUG_KERNEL && DEBUG_FS help This option enables support for manually injecting faults into the NFS server. This is intended to be used for