ocfs2/cluster: neaten a member of o2net_msg_handler
authorChangwei Ge <ge.changwei@h3c.com>
Thu, 1 Feb 2018 00:14:25 +0000 (16:14 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 1 Feb 2018 01:18:34 +0000 (17:18 -0800)
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>
fs/ocfs2/cluster/tcp_internal.h

index b95e7df..0276f7f 100644 (file)
@@ -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;