nfsd: lock state around put client and delegation in nfsd4_cb_recall
authorAlexandros Batsakis <batsakis@netapp.com>
Fri, 19 Dec 2008 03:55:16 +0000 (19:55 -0800)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 18 Mar 2009 21:30:50 +0000 (17:30 -0400)
commite37da04ed145d45c2a698d7cb373a7e1191fbe86
treed493557917d982e1b6fa5141779ba3984f1706d9
parent6c02eaa1d1e53b9b2cc27d0c6fff3e57da4b611f
nfsd: lock state around put client and delegation in nfsd4_cb_recall

not having the state locked before putting the client/delegation causes a bug.
Also removed the comment from the function header about the state being already locked

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