summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorChangwei Ge <ge.changwei@h3c.com>2018-02-01 01:14:25 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2018-02-01 02:18:34 +0100
commitcfdce25cb9e47f7ddd817a9070f675d425d3fc4a (patch)
treeb721a5e24af61e8b4da664d855d4f23d86e70d8f /fs
parentfs/ocfs2/dlm/dlmmaster.c: clean up dead code (diff)
downloadlinux-cfdce25cb9e47f7ddd817a9070f675d425d3fc4a.tar.xz
linux-cfdce25cb9e47f7ddd817a9070f675d425d3fc4a.zip
ocfs2/cluster: neaten a member of o2net_msg_handler
It's odd that o2net_msg_handler::nh_func_data is declared as type o2net_msg_handler_func*. So neaten it. Link: http://lkml.kernel.org/r/63ADC13FD55D6546B7DECE290D39E373F1F554DA@H3CMLB14-EX.srv.huawei-3com.com Signed-off-by: Changwei Ge <ge.changwei@h3c.com> Reviewed-by: Joseph Qi <jiangqi903@gmail.com> Reviewed-by: Alex Chen <alex.chen@huawei.com> Cc: Mark Fasheh <mfasheh@versity.com> Cc: Joel Becker <jlbec@evilplan.org> Cc: Junxiao Bi <junxiao.bi@oracle.com> Cc: Changwei Ge <ge.changwei@h3c.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/ocfs2/cluster/tcp_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/cluster/tcp_internal.h b/fs/ocfs2/cluster/tcp_internal.h
index b95e7df5b76a..0276f7f8d5e6 100644
--- a/fs/ocfs2/cluster/tcp_internal.h
+++ b/fs/ocfs2/cluster/tcp_internal.h
@@ -196,7 +196,7 @@ struct o2net_msg_handler {
u32 nh_msg_type;
u32 nh_key;
o2net_msg_handler_func *nh_func;
- o2net_msg_handler_func *nh_func_data;
+ void *nh_func_data;
o2net_post_msg_handler_func
*nh_post_func;
struct kref nh_kref;