[Ocfs2-devel] [patch 2/2] ocfs2: clean up some unused func declaration
Joseph Qi
jiangqi903 at gmail.com
Mon Sep 25 03:40:52 PDT 2017
Cc Andrew as well.
On 17/9/23 11:41, piaojun wrote:
> Signed-off-by: Jun Piao <piaojun at huawei.com>
> Reviewed-by: Alex Chen <alex.chen at huawei.com>
Reviewed-by: Joseph Qi <jiangqi903 at gmail.com>
> ---
> fs/ocfs2/buffer_head_io.h | 3 ---
> fs/ocfs2/cluster/heartbeat.h | 2 --
> 2 files changed, 5 deletions(-)
>
> diff --git a/fs/ocfs2/buffer_head_io.h b/fs/ocfs2/buffer_head_io.h
> index b97bcc6..b1bb70c 100644
> --- a/fs/ocfs2/buffer_head_io.h
> +++ b/fs/ocfs2/buffer_head_io.h
> @@ -28,9 +28,6 @@
>
> #include <linux/buffer_head.h>
>
> -void ocfs2_end_buffer_io_sync(struct buffer_head *bh,
> - int uptodate);
> -
> int ocfs2_write_block(struct ocfs2_super *osb,
> struct buffer_head *bh,
> struct ocfs2_caching_info *ci);
> diff --git a/fs/ocfs2/cluster/heartbeat.h b/fs/ocfs2/cluster/heartbeat.h
> index 3ef5137..a9e67ef 100644
> --- a/fs/ocfs2/cluster/heartbeat.h
> +++ b/fs/ocfs2/cluster/heartbeat.h
> @@ -79,10 +79,8 @@ void o2hb_fill_node_map(unsigned long *map,
> unsigned bytes);
> void o2hb_exit(void);
> int o2hb_init(void);
> -int o2hb_check_node_heartbeating(u8 node_num);
> int o2hb_check_node_heartbeating_no_sem(u8 node_num);
> int o2hb_check_node_heartbeating_from_callback(u8 node_num);
> -int o2hb_check_local_node_heartbeating(void);
> void o2hb_stop_all_regions(void);
> int o2hb_get_all_regions(char *region_uuids, u8 numregions);
> int o2hb_global_heartbeat_active(void);
>
More information about the Ocfs2-devel
mailing list