]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd41: renew_client must be called under the state lock
authorBenny Halevy <bhalevy@panasas.com>
Thu, 20 Aug 2009 00:21:56 +0000 (03:21 +0300)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Thu, 27 Aug 2009 21:17:40 +0000 (17:17 -0400)
commitd00f2a02ca25d79705e6f04f2e836729feff42e9
tree439d25aa70e6226ae8895db8a7503fd63a62a907
parent80c47adb6e97b881c8d4d6759f79aef1fc2e7ff5
nfsd41: renew_client must be called under the state lock

Until we work out the state locking so we can use a spin lock to protect
the cl_lru, we need to take the state_lock to renew the client.

Signed-off-by: Benny Halevy <bhalevy@panasas.com>
[nfsd41: Do not renew state on error]
Signed-off-by: Ricardo Labiaga <Ricardo.Labiaga@netapp.com>
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
[nfsd41: Simplify exit code]
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfs4state.c