Skip to content

Commit 9a948c0

Browse files
Yue Haibingidryomov
authored andcommitted
ceph: Remove unused declarations
These functions is never implemented and used. Signed-off-by: Yue Haibing <[email protected]> Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
1 parent 5be63fc commit 9a948c0

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

fs/ceph/mds_client.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -559,9 +559,6 @@ extern struct ceph_mds_session *
559559
ceph_get_mds_session(struct ceph_mds_session *s);
560560
extern void ceph_put_mds_session(struct ceph_mds_session *s);
561561

562-
extern int ceph_send_msg_mds(struct ceph_mds_client *mdsc,
563-
struct ceph_msg *msg, int mds);
564-
565562
extern int ceph_mdsc_init(struct ceph_fs_client *fsc);
566563
extern void ceph_mdsc_close_sessions(struct ceph_mds_client *mdsc);
567564
extern void ceph_mdsc_force_umount(struct ceph_mds_client *mdsc);

fs/ceph/super.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,8 +1056,6 @@ extern int ceph_fill_trace(struct super_block *sb,
10561056
extern int ceph_readdir_prepopulate(struct ceph_mds_request *req,
10571057
struct ceph_mds_session *session);
10581058

1059-
extern int ceph_inode_holds_cap(struct inode *inode, int mask);
1060-
10611059
extern bool ceph_inode_set_size(struct inode *inode, loff_t size);
10621060
extern void __ceph_do_pending_vmtruncate(struct inode *inode);
10631061

include/linux/ceph/osd_client.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,8 +449,6 @@ extern int ceph_osdc_init(struct ceph_osd_client *osdc,
449449
extern void ceph_osdc_stop(struct ceph_osd_client *osdc);
450450
extern void ceph_osdc_reopen_osds(struct ceph_osd_client *osdc);
451451

452-
extern void ceph_osdc_handle_reply(struct ceph_osd_client *osdc,
453-
struct ceph_msg *msg);
454452
extern void ceph_osdc_handle_map(struct ceph_osd_client *osdc,
455453
struct ceph_msg *msg);
456454
void ceph_osdc_update_epoch_barrier(struct ceph_osd_client *osdc, u32 eb);

0 commit comments

Comments
 (0)