]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
nfsd4: put_nfs4_client does not require state lock
authorJ. Bruce Fields <bfields@citi.umich.edu>
Sat, 21 Feb 2009 23:39:54 +0000 (15:39 -0800)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 18 Mar 2009 21:38:38 +0000 (17:38 -0400)
commitd7fdcfe0aaaf6dffca6fa857bab374182fe7ca8b
treef53688b2496a98da148297972b4e27318810ec89
parent18f82731b7784ba81ee9b1ed6a8179b577fa898b
nfsd4: put_nfs4_client does not require state lock

Since free_client() is guaranteed to only be called once, and to only
touch the client structure itself (not any common data structures), it
has no need for the state lock.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Cc: Alexandros Batsakis <batsakis@netapp.com>
fs/nfsd/nfs4callback.c