From: Jeff Layton Date: Wed, 30 Jul 2014 01:34:10 +0000 (-0400) Subject: nfsd4: use cl_lock to synchronize all stateid idr calls X-Git-Tag: omap-for-v3.17/fixes-against-rc2~101^2~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4770d722014b99e5438c0d1dc44db31ac4547af1;p=pandora-kernel.git nfsd4: use cl_lock to synchronize all stateid idr calls Currently, this is serialized by the client_mutex, which is slated for removal. Add finer-grained locking here. Also, do some cleanup around find_stateid to prepare for taking references. Signed-off-by: Trond Myklebust Signed-off-by: Benny Halevy Signed-off-by: Jeff Layton Reviewed-by: Christoph Hellwig Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed