summaryrefslogtreecommitdiffstats
path: root/fs/ceph/caps.c
diff options
context:
space:
mode:
authorXiubo Li <xiubli@redhat.com>2024-07-29 10:02:02 +0200
committerIlya Dryomov <idryomov@gmail.com>2024-09-24 22:51:19 +0200
commitc085f6ca956f75d40422db96eaa6298867db8dca (patch)
tree64d710ff9274f48d4411ebb1f2c6d1daa7a2fdf7 /fs/ceph/caps.c
parentlibceph: use min() to simplify code in ceph_dns_resolve_name() (diff)
downloadlinux-c085f6ca956f75d40422db96eaa6298867db8dca.tar.xz
linux-c085f6ca956f75d40422db96eaa6298867db8dca.zip
ceph: rename ceph_flush_cap_releases() to ceph_flush_session_cap_releases()
Prepare for adding a helper to flush the cap releases for all sessions. Signed-off-by: Xiubo Li <xiubli@redhat.com> Reviewed-by: Ilya Dryomov <idryomov@gmail.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/caps.c')
-rw-r--r--fs/ceph/caps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/caps.c b/fs/ceph/caps.c
index 6561a6cd94de..888bf9a290a8 100644
--- a/fs/ceph/caps.c
+++ b/fs/ceph/caps.c
@@ -4603,7 +4603,7 @@ flush_cap_releases:
__ceph_queue_cap_release(session, cap);
spin_unlock(&session->s_cap_lock);
}
- ceph_flush_cap_releases(mdsc, session);
+ ceph_flush_session_cap_releases(mdsc, session);
goto done;
bad: