nfsd: NFSD_FAULT_INJECTION depends on DEBUG_FS
authorChengyu Song <csong84@gatech.edu>
Wed, 25 Mar 2015 20:37:07 +0000 (16:37 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 31 Mar 2015 20:46:39 +0000 (16:46 -0400)
commit629b8729cc2ca8fde7deb008dab09f3ad19fed52
treeb23a6c247a4403df8ec11f2606e547961837685c
parent4229789993ee23bf35ee87546655bbbb6013569a
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>
fs/nfsd/Kconfig