提交 629b8729 编写于 作者: C Chengyu Song 提交者: J. Bruce Fields

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: NChengyu Song <csong84@gatech.edu>
Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
上级 42297899
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册