From: Jeff Layton Date: Wed, 30 Jul 2014 01:34:12 +0000 (-0400) Subject: nfsd: Add locking to protect the state owner lists X-Git-Tag: omap-for-v3.17/fixes-against-rc2~101^2~72 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c755dc1ada95adc9aa41102baada73659397b80;p=pandora-kernel.git nfsd: Add locking to protect the state owner lists Change to using the clp->cl_lock for this. For now, there's a lot of cl_lock thrashing, but in later patches we'll eliminate that and close the potential races that can occur when releasing the cl_lock while walking the lists. For now, the client_mutex prevents those races. Signed-off-by: Trond Myklebust Signed-off-by: Jeff Layton Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed