]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1638a69d24164feb51db8b12776d34da37d24788
tree4b644391f9c4d0af4d7723667bed98e8c030be0e
parent4b8cd6aa545906f56789a9211262d108befa4844
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