NFSD: Lock state before calling fault injection function
authorBryan Schumaker <bjschuma@netapp.com>
Thu, 29 Nov 2012 16:40:38 +0000 (11:40 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 3 Dec 2012 14:58:54 +0000 (09:58 -0500)
commit043958395a6b91863046b0cd7cae9c67fa845144
tree192d24b14d09394b92ffb7298b2df60695097126
parente5f9570319771bb0a5afc792b34fbd5564b935c8
NFSD: Lock state before calling fault injection function

Each function touches state in some way, so getting the lock earlier
can help simplify code.

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