diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2009-02-22 17:51:34 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-03-18 17:38:38 -0400 |
commit | 8b671b80707e4fc76adfe4387df07b3be1007c1e (patch) | |
tree | d9dafb3a1174dfeb84f72ba56a04625204aab415 /fs/nfsd/nfs4callback.c | |
parent | d7fdcfe0aaaf6dffca6fa857bab374182fe7ca8b (diff) |
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>
Diffstat (limited to 'fs/nfsd/nfs4callback.c')
-rw-r--r-- | fs/nfsd/nfs4callback.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4callback.c b/fs/nfsd/nfs4callback.c index 3fd7136321ca..5dcd38e5f138 100644 --- a/fs/nfsd/nfs4callback.c +++ b/fs/nfsd/nfs4callback.c | |||
@@ -491,8 +491,6 @@ out_put_cred: | |||
491 | * or deleg_return. | 491 | * or deleg_return. |
492 | */ | 492 | */ |
493 | put_nfs4_client(clp); | 493 | put_nfs4_client(clp); |
494 | nfs4_lock_state(); | ||
495 | nfs4_put_delegation(dp); | 494 | nfs4_put_delegation(dp); |
496 | nfs4_unlock_state(); | ||
497 | return; | 495 | return; |
498 | } | 496 | } |