commit | 9205e2e846f7f42058224ad45f951115e5b5faab | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Wed Oct 18 14:55:01 2017 -0400 |
committer | Jeff Layton <jlayton@redhat.com> | Wed Oct 18 14:55:01 2017 -0400 |
tree | 9ee1ead8c7d9310c05d4b2c31194a4d7cb2c1cc4 | |
parent | c6a7fcaa203736609cb20856f796acb9bd8e6e55 [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>