From: Trond Myklebust Date: Wed, 30 Jul 2014 01:34:35 +0000 (-0400) Subject: nfsd: Protect adding/removing lock owners using client_lock X-Git-Tag: omap-for-v3.17/fixes-against-rc2~101^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c58c6610ec248134b0b0ede2ac80859bf1cefa29;p=pandora-kernel.git nfsd: Protect adding/removing lock owners using client_lock Once we remove client mutex protection, we'll need to ensure that stateowner lookup and creation are atomic between concurrent compounds. Ensure that alloc_init_lock_stateowner checks the hashtable under the client_lock before adding a new element. Signed-off-by: Trond Myklebust Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed