summaryrefslogtreecommitdiff
path: root/fs/ceph/super.c
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2009-12-22 04:40:34 (GMT)
committerSage Weil <sage@newdream.net>2009-12-23 16:17:14 (GMT)
commit5dacf09121ffb2e5fc7d15b78cae0b77042a1935 (patch)
tree8a4ec2fde459f93936a91644d024673d37347408 /fs/ceph/super.c
parent7067f797b8409f1e10ec95ac2c1e17a200173d13 (diff)
downloadlinux-fsl-qoriq-5dacf09121ffb2e5fc7d15b78cae0b77042a1935.tar.xz
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 <sage@newdream.net>
Diffstat (limited to 'fs/ceph/super.c')
0 files changed, 0 insertions, 0 deletions