diff options
author | Dr. David Alan Gilbert <linux@treblig.org> | 2024-10-06 03:19:56 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2024-11-18 17:34:35 +0100 |
commit | 6025b482e48041cd71111ab4f7cc28e0371b2e3e (patch) | |
tree | 3bd2be3c94a7824f0a9d14867f42e5df911dced6 /fs/ceph/mds_client.c | |
parent | libceph: Remove unused ceph_crypto_key_encode (diff) | |
download | linux-6025b482e48041cd71111ab4f7cc28e0371b2e3e.tar.xz linux-6025b482e48041cd71111ab4f7cc28e0371b2e3e.zip |
ceph: Remove fs/ceph deadcode
ceph_caps_revoking() has been unused since 2017's commit
3fb99d483e61 ("ceph: nuke startsync op")
ceph_mdsc_open_export_target_sessions() has been unused since 2013's
commit 11df2dfb610d ("ceph: add imported caps when handling cap export message")
Remove them.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/mds_client.c')
-rw-r--r-- | fs/ceph/mds_client.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/ceph/mds_client.c b/fs/ceph/mds_client.c index c4a5fd94bbbb..923635532f03 100644 --- a/fs/ceph/mds_client.c +++ b/fs/ceph/mds_client.c @@ -1747,14 +1747,6 @@ static void __open_export_target_sessions(struct ceph_mds_client *mdsc, } } -void ceph_mdsc_open_export_target_sessions(struct ceph_mds_client *mdsc, - struct ceph_mds_session *session) -{ - mutex_lock(&mdsc->mutex); - __open_export_target_sessions(mdsc, session); - mutex_unlock(&mdsc->mutex); -} - /* * session caps */ |