nfsd: add more granular locking to forget_openowners fault injector
authorJeff Layton <jlayton@primarydata.com>
Wed, 30 Jul 2014 12:27:22 +0000 (08:27 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 5 Aug 2014 14:55:08 +0000 (10:55 -0400)
commit82e05efaec9b5b1528771b30c27d060961576827
tree4b644391f9c4d0af4d7723667bed98e8c030be0e
parent016200c37341b62df14ec642b0b30b4b70bc09af
nfsd: add more granular locking to forget_openowners fault injector

...instead of relying on the client_mutex.

Also, fix up the printk output that is generated when the file is read.
It currently says that it's reporting the number of open files, but
it's actually reporting the number of openowners.

Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/fault_inject.c
fs/nfsd/nfs4state.c
fs/nfsd/state.h