summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2017-10-19 14:53:58 +0200
committerIlya Dryomov <idryomov@gmail.com>2017-11-13 12:11:42 +0100
commitc8a96a31cb04c7664626ab6ada7f66c98c09efbd (patch)
treef84590b407cb514868f6c03516a24fcf09915d74 /init
parentrbd: get rid of rbd_mapping::read_only (diff)
downloadlinux-c8a96a31cb04c7664626ab6ada7f66c98c09efbd.tar.xz
linux-c8a96a31cb04c7664626ab6ada7f66c98c09efbd.zip
ceph: clean up spinlocking and list handling around cleanup_cap_releases()
Functions that release a lock taken in a parent frame are notoriously hard to follow. Split cleanup_cap_releases into two functions, one to detach the cap releases from the session (which should be called with the spinlock held), and another to dispose of those caps. Signed-off-by: Jeff Layton <jlayton@redhat.com> Reviewed-by: "Yan, Zheng" <zyan@redhat.com> Reviewed-by: Ilya Dryomov <idryomov@gmail.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions