]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit79672988e18fe6dad0423205595e1142c89918f3
tree7a3cc8c0fea766d99cb93539ed3953b232767fc4
parent733dc25982531a0ebaa5f495d6e80c0c23cb6af8
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