Skip to content

Commit e56dc9e

Browse files
author
J. Bruce Fields
committed
nfsd: remove fault injection code
It was an interesting idea but nobody seems to be using it, it's buggy at this point, and nfs4state.c is already complicated enough without it. The new nfsd/clients/ code provides some of the same functionality, and could probably do more if desired. This feature has been deprecated since 9d60d93 ("Deprecate nfsd fault injection"). Signed-off-by: J. Bruce Fields <[email protected]>
1 parent 856deb8 commit e56dc9e

File tree

8 files changed

+0
-755
lines changed

8 files changed

+0
-755
lines changed

Documentation/admin-guide/nfs/fault_injection.rst

Lines changed: 0 additions & 70 deletions
This file was deleted.

Documentation/admin-guide/nfs/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,3 @@ NFS
1212
nfs-idmapper
1313
pnfs-block-server
1414
pnfs-scsi-server
15-
fault_injection

fs/nfsd/Kconfig

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -156,13 +156,3 @@ config NFSD_V4_SECURITY_LABEL
156156

157157
If you do not wish to enable fine-grained security labels SELinux or
158158
Smack policies on NFSv4 files, say N.
159-
160-
config NFSD_FAULT_INJECTION
161-
bool "NFS server manual fault injection"
162-
depends on NFSD_V4 && DEBUG_KERNEL && DEBUG_FS && BROKEN
163-
help
164-
This option enables support for manually injecting faults
165-
into the NFS server. This is intended to be used for
166-
testing error recovery on the NFS client.
167-
168-
If unsure, say N.

fs/nfsd/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ nfsd-y += trace.o
1313
nfsd-y += nfssvc.o nfsctl.o nfsproc.o nfsfh.o vfs.o \
1414
export.o auth.o lockd.o nfscache.o nfsxdr.o \
1515
stats.o filecache.o
16-
nfsd-$(CONFIG_NFSD_FAULT_INJECTION) += fault_inject.o
1716
nfsd-$(CONFIG_NFSD_V2_ACL) += nfs2acl.o
1817
nfsd-$(CONFIG_NFSD_V3) += nfs3proc.o nfs3xdr.o
1918
nfsd-$(CONFIG_NFSD_V3_ACL) += nfs3acl.o

0 commit comments

Comments
 (0)