nfsd4: remove use of mutex for file_hashtable
authorJ. Bruce Fields <bfields@citi.umich.edu>
Sun, 22 Feb 2009 22:51:34 +0000 (14:51 -0800)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 18 Mar 2009 21:38:38 +0000 (17:38 -0400)
commit8b671b80707e4fc76adfe4387df07b3be1007c1e
treed9dafb3a1174dfeb84f72ba56a04625204aab415
parentd7fdcfe0aaaf6dffca6fa857bab374182fe7ca8b
nfsd4: remove use of mutex for file_hashtable

As part of reducing the scope of the client_mutex, and in order to
remove the need for mutexes from the callback code (so that callbacks
can be done as asynchronous rpc calls), move manipulations of the
file_hashtable under the recall_lock.

Update the relevant comments while we're here.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Cc: Alexandros Batsakis <batsakis@netapp.com>
Reviewed-by: Benny Halevy <bhalevy@panasas.com>
fs/nfsd/nfs4callback.c
fs/nfsd/nfs4state.c
include/linux/nfsd/state.h