summaryrefslogtreecommitdiff
path: root/fs/ceph/super.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2017-10-19 08:53:58 -0400
committerIlya Dryomov <idryomov@gmail.com>2017-11-13 12:11:42 +0100
commitc8a96a31cb04c7664626ab6ada7f66c98c09efbd (patch)
treef84590b407cb514868f6c03516a24fcf09915d74 /fs/ceph/super.c
parent9568c93ecab92d3ee60f2f6bec4e4d91641c61a6 (diff)
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 'fs/ceph/super.c')
0 files changed, 0 insertions, 0 deletions