* [Ocfs2-devel] [PATCH 2/2] ocfs2: cleanup unused func declaration and assignment
@ 2017-10-13 7:01 piaojun
2017-10-13 7:21 ` Gang He
2017-10-13 9:20 ` Joseph Qi
0 siblings, 2 replies; 3+ messages in thread
From: piaojun @ 2017-10-13 7:01 UTC (permalink / raw)
To: ocfs2-devel
Signed-off-by: Jun Piao <piaojun@huawei.com>
---
fs/ocfs2/alloc.c | 2 --
fs/ocfs2/cluster/heartbeat.h | 2 --
2 files changed, 4 deletions(-)
diff --git a/fs/ocfs2/alloc.c b/fs/ocfs2/alloc.c
index a177eae..31a416d 100644
--- a/fs/ocfs2/alloc.c
+++ b/fs/ocfs2/alloc.c
@@ -3585,8 +3585,6 @@ static int ocfs2_merge_rec_left(struct ocfs2_path *right_path,
* The easy case - we can just plop the record right in.
*/
*left_rec = *split_rec;
-
- has_empty_extent = 0;
} else
le16_add_cpu(&left_rec->e_leaf_clusters, split_clusters);
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);
--
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Ocfs2-devel] [PATCH 2/2] ocfs2: cleanup unused func declaration and assignment
2017-10-13 7:01 [Ocfs2-devel] [PATCH 2/2] ocfs2: cleanup unused func declaration and assignment piaojun
@ 2017-10-13 7:21 ` Gang He
2017-10-13 9:20 ` Joseph Qi
1 sibling, 0 replies; 3+ messages in thread
From: Gang He @ 2017-10-13 7:21 UTC (permalink / raw)
To: ocfs2-devel
Look good, but hope you can add more comments in the patch description.
Reviewed-by: Gang He <ghe@suse.com>
Thanks
Gang
>>>
> Signed-off-by: Jun Piao <piaojun@huawei.com>
> ---
> fs/ocfs2/alloc.c | 2 --
> fs/ocfs2/cluster/heartbeat.h | 2 --
> 2 files changed, 4 deletions(-)
>
> diff --git a/fs/ocfs2/alloc.c b/fs/ocfs2/alloc.c
> index a177eae..31a416d 100644
> --- a/fs/ocfs2/alloc.c
> +++ b/fs/ocfs2/alloc.c
> @@ -3585,8 +3585,6 @@ static int ocfs2_merge_rec_left(struct ocfs2_path
> *right_path,
> * The easy case - we can just plop the record right in.
> */
> *left_rec = *split_rec;
> -
> - has_empty_extent = 0;
> } else
> le16_add_cpu(&left_rec->e_leaf_clusters, split_clusters);
>
> 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);
> --
>
> _______________________________________________
> Ocfs2-devel mailing list
> Ocfs2-devel at oss.oracle.com
> https://oss.oracle.com/mailman/listinfo/ocfs2-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Ocfs2-devel] [PATCH 2/2] ocfs2: cleanup unused func declaration and assignment
2017-10-13 7:01 [Ocfs2-devel] [PATCH 2/2] ocfs2: cleanup unused func declaration and assignment piaojun
2017-10-13 7:21 ` Gang He
@ 2017-10-13 9:20 ` Joseph Qi
1 sibling, 0 replies; 3+ messages in thread
From: Joseph Qi @ 2017-10-13 9:20 UTC (permalink / raw)
To: ocfs2-devel
On 17/10/13 15:01, piaojun wrote:
> Signed-off-by: Jun Piao <piaojun@huawei.com>
Reviewed-by: Joseph Qi <jiangqi903@gmail.com>
> ---
> fs/ocfs2/alloc.c | 2 --
> fs/ocfs2/cluster/heartbeat.h | 2 --
> 2 files changed, 4 deletions(-)
>
> diff --git a/fs/ocfs2/alloc.c b/fs/ocfs2/alloc.c
> index a177eae..31a416d 100644
> --- a/fs/ocfs2/alloc.c
> +++ b/fs/ocfs2/alloc.c
> @@ -3585,8 +3585,6 @@ static int ocfs2_merge_rec_left(struct ocfs2_path *right_path,
> * The easy case - we can just plop the record right in.
> */
> *left_rec = *split_rec;
> -
> - has_empty_extent = 0;
> } else
> le16_add_cpu(&left_rec->e_leaf_clusters, split_clusters);
>
> 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);
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-10-13 9:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-13 7:01 [Ocfs2-devel] [PATCH 2/2] ocfs2: cleanup unused func declaration and assignment piaojun
2017-10-13 7:21 ` Gang He
2017-10-13 9:20 ` Joseph Qi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.