NFSD: Add a custom file operations structure for fault injection
authorBryan Schumaker <bjschuma@netapp.com>
Thu, 29 Nov 2012 16:40:45 +0000 (11:40 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 3 Dec 2012 14:59:02 +0000 (09:59 -0500)
commitd7cc431edd0a6c69a88b5ff1e304af50bfb2270e
tree1dd7af589286e5beac9b5f0b94e167f2af229e0a
parent184c18471f7d0963ad5752692c4b441a546d88f1
NFSD: Add a custom file operations structure for fault injection

Controlling the read and write functions allows me to add in "forget
client w.x.y.z", since we won't be limited to reading and writing only
u64 values.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/fault_inject.c