diff options
author | Jeff Layton <jlayton@kernel.org> | 2021-09-02 19:34:21 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2021-11-08 05:29:51 +0300 |
commit | c35cac610a24f8b2e2d6f6535b7300d3bb2e5c29 (patch) | |
tree | a80a2bc2dbce79fa859cf0f53e67f0c693e9e436 /fs/ocfs2/stackglue.h | |
parent | 8006daff5f94b157ab1df7c6eb1b55fc470d0d24 (diff) | |
download | linux-c35cac610a24f8b2e2d6f6535b7300d3bb2e5c29.tar.xz |
ceph: drop private list from remove_session_caps_cb
This function does a lot of list-shuffling with cap flushes, all to
avoid possibly freeing a slab allocation under spinlock (which is
totally ok). Simplify the code by just detaching and freeing the cap
flushes in place.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ocfs2/stackglue.h')
0 files changed, 0 insertions, 0 deletions