NFSD: Fault injection operations take a per-client forget function
authorBryan Schumaker <bjschuma@netapp.com>
Thu, 29 Nov 2012 16:40:43 +0000 (11:40 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 3 Dec 2012 14:59:00 +0000 (09:59 -0500)
commit8ce54e0d82730ece61737c9fd7b61b28ab8c3390
tree7a3cc8c0fea766d99cb93539ed3953b232767fc4
parent269de30f10604710dde8d544748b5b6c748b7de8
NFSD: Fault injection operations take a per-client forget function

The eventual goal is to forget state based on ip address, so it makes
sense to call this function in a for-each-client loop until the correct
amount of state is forgotten.  I also use this patch as an opportunity
to rename the forget function from "func()" to "forget()".

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