From: Sage Weil Date: Tue, 22 Dec 2009 04:40:34 +0000 (-0800) Subject: ceph: do not touch_caps while iterating over caps list X-Git-Tag: v2.6.34-rc2~9^2~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5dacf09121ffb2e5fc7d15b78cae0b77042a1935;p=pandora-kernel.git ceph: do not touch_caps while iterating over caps list Avoid confusing iterate_session_caps(), flag the session while we are iterating so that __touch_cap does not rearrange items on the list. All other modifiers of session->s_caps do so under the protection of s_mutex. Signed-off-by: Sage Weil --- Reading git-diff-tree failed