diff options
author | Jeff Layton <jlayton@redhat.com> | 2017-10-19 08:53:58 -0400 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2017-11-13 12:11:42 +0100 |
commit | c8a96a31cb04c7664626ab6ada7f66c98c09efbd (patch) | |
tree | f84590b407cb514868f6c03516a24fcf09915d74 /fs/stack.c | |
parent | 9568c93ecab92d3ee60f2f6bec4e4d91641c61a6 (diff) | |
download | talos-obmc-linux-c8a96a31cb04c7664626ab6ada7f66c98c09efbd.tar.gz talos-obmc-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 'fs/stack.c')
0 files changed, 0 insertions, 0 deletions