From: Jeff Layton Date: Mon, 28 Jan 2013 19:41:08 +0000 (-0500) Subject: nfsd: remove unneeded spinlock in nfsd_cache_update X-Git-Tag: v3.9-rc1~40^2~38 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dc8889589678c228a675b9f01721318a31a8f5b;p=pandora-kernel.git nfsd: remove unneeded spinlock in nfsd_cache_update The locking rules for cache entries say that locking the cache_lock isn't needed if you're just touching the current entry. Earlier in this function we set rp->c_state to RC_UNUSED without any locking, so I believe it's ok to do the same here. Signed-off-by: Jeff Layton Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed