git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7067f79
)
ceph: do not touch_caps while iterating over caps list
author
Sage Weil
<sage@newdream.net>
Tue, 22 Dec 2009 04:40:34 +0000
(20:40 -0800)
committer
Sage Weil
<sage@newdream.net>
Wed, 23 Dec 2009 16:17:14 +0000
(08:17 -0800)
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 <sage@newdream.net>
No differences found