summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorYue Haibing <yuehaibing@huawei.com>2024-08-14 05:34:15 +0200
committerIlya Dryomov <idryomov@gmail.com>2024-08-27 09:28:48 +0200
commit9a948c0c8e741776ee6d938b49d34d22034fbb7d (patch)
tree61b25cd4566034d1d4e06f7495c46f984d301897 /fs
parentLinux 6.11-rc5 (diff)
downloadlinux-9a948c0c8e741776ee6d938b49d34d22034fbb7d.tar.xz
linux-9a948c0c8e741776ee6d938b49d34d22034fbb7d.zip
ceph: Remove unused declarations
These functions is never implemented and used. Signed-off-by: Yue Haibing <yuehaibing@huawei.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/ceph/mds_client.h3
-rw-r--r--fs/ceph/super.h2
2 files changed, 0 insertions, 5 deletions
diff --git a/fs/ceph/mds_client.h b/fs/ceph/mds_client.h
index 9bcc7f181bfe..585ab5a6d87d 100644
--- a/fs/ceph/mds_client.h
+++ b/fs/ceph/mds_client.h
@@ -559,9 +559,6 @@ extern struct ceph_mds_session *
ceph_get_mds_session(struct ceph_mds_session *s);
extern void ceph_put_mds_session(struct ceph_mds_session *s);
-extern int ceph_send_msg_mds(struct ceph_mds_client *mdsc,
- struct ceph_msg *msg, int mds);
-
extern int ceph_mdsc_init(struct ceph_fs_client *fsc);
extern void ceph_mdsc_close_sessions(struct ceph_mds_client *mdsc);
extern void ceph_mdsc_force_umount(struct ceph_mds_client *mdsc);
diff --git a/fs/ceph/super.h b/fs/ceph/super.h
index 6e817bf1337c..c88bf53f68e9 100644
--- a/fs/ceph/super.h
+++ b/fs/ceph/super.h
@@ -1056,8 +1056,6 @@ extern int ceph_fill_trace(struct super_block *sb,
extern int ceph_readdir_prepopulate(struct ceph_mds_request *req,
struct ceph_mds_session *session);
-extern int ceph_inode_holds_cap(struct inode *inode, int mask);
-
extern bool ceph_inode_set_size(struct inode *inode, loff_t size);
extern void __ceph_do_pending_vmtruncate(struct inode *inode);