From patchwork Tue Dec 5 05:47:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Changwei Ge X-Patchwork-Id: 10092161 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A16C66035E for ; Tue, 5 Dec 2017 05:48:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8A66E292FF for ; Tue, 5 Dec 2017 05:48:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7DC952947B; Tue, 5 Dec 2017 05:48:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9067C292FF for ; Tue, 5 Dec 2017 05:48:54 +0000 (UTC) Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id vB55mXY7014310 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 5 Dec 2017 05:48:33 GMT Received: from oss.oracle.com (oss-old-reserved.oracle.com [137.254.22.2]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id vB55mTmN009051 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 Dec 2017 05:48:30 GMT Received: from localhost ([127.0.0.1] helo=lb-oss.oracle.com) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from ) id 1eM65l-0004kz-Nd; Mon, 04 Dec 2017 21:48:29 -0800 Received: from userv0021.oracle.com ([156.151.31.71]) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from ) id 1eM65h-0004km-MH for ocfs2-devel@oss.oracle.com; Mon, 04 Dec 2017 21:48:26 -0800 Received: from userp2030.oracle.com (userp2030.oracle.com [156.151.31.89]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id vB55mP57027430 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Tue, 5 Dec 2017 05:48:25 GMT Received: from pps.filterd (userp2030.oracle.com [127.0.0.1]) by userp2030.oracle.com (8.16.0.21/8.16.0.21) with SMTP id vB55mPx4013565; Tue, 5 Dec 2017 05:48:25 GMT Authentication-Results: oracle.com; spf=temperror smtp.mailfrom=ge.changwei@h3c.com Received: from h3cmg01-ex.h3c.com (smtp.h3c.com [60.191.123.56]) by userp2030.oracle.com with ESMTP id 2enertefsk-1; Tue, 05 Dec 2017 05:48:14 +0000 Received: from BJHUB01-EX.srv.huawei-3com.com (unknown [10.63.20.169]) by h3cmg01-ex.h3c.com with smtp id 448c_0230_24ab6e72_3e0f_4f44_9ae6_0f9f9220a009; Tue, 05 Dec 2017 13:48:10 +0800 Received: from H3CMLB14-EX.srv.huawei-3com.com ([fe80::f804:6772:bd71:f07f]) by BJHUB01-EX.srv.huawei-3com.com ([::1]) with mapi id 14.03.0248.002; Tue, 5 Dec 2017 13:47:57 +0800 From: Changwei Ge To: "ocfs2-devel@oss.oracle.com" , Mark Fasheh , Joseph Qi , Junxiao Bi , Joel Becker Thread-Topic: [PATCH] ocfs2/cluster: neaten a member of o2net_msg_handler Thread-Index: AdNtjJlrZaw0ztWvQh6hAWEWK+rhKw== Date: Tue, 5 Dec 2017 05:47:56 +0000 Message-ID: <63ADC13FD55D6546B7DECE290D39E373F1F554DA@H3CMLB14-EX.srv.huawei-3com.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.125.136.231] MIME-Version: 1.0 X-CLX-Shades: MLX X-CLX-Response: 1TFkXGxwbEQpMehcaEQpZTRdnZnIRCllJFxpxGhAadwYbHhtxHxoQGncGGBo GGhEKWV4XaG55EQpJRhdFWEtJRk91WlhFTl9JXkNFRBl1T0sRCkNOF05kUHBhe2trRmZpTBJ6aE 9JH2lPRR8Yc39jB2FebltgEQpYXBcfBBoEGxsTBxtIGk4YTktPBRsaBBsaGgQeEgQfEBseGh8aE QpeWRd4fRNMbxEKTVwXGx4cEQpMWhdoaU1NUxEKTEYXY2sRCkNaFxwaBBsTGwQbGBkEHxwRCkJe FxsRCkRYFxgRCkReFxwRCkRJFxsRCkJGF2cTbWAbW2VCH359EQpCXBcaEQpCRRduGVhMXmEBcFJ MYREKQk4XZEJ8WkVEQWIdZFARCkJMF29+XU0YBV1mGlJ7EQpCbBdkYU9LYEJIEngdZxEKQkAXaU 9we11mT19zZGERCk1eFxsRCnBoF2lIAWRCYX9NbFxQEBkaEQpwaBdle21yZh9CTkFIXBAZGhEKc GgXa0QcbRNIU1xjXkwQGRoRCnBoF2lAcEFmG01JYHh7EBkaEQpwaBdtAV1OS2FfWVtjRhAZGhEK cGwXbU4bb1MBR1JIHXMQGRoRCm1+FxsRClhNF0sRIA== X-PDR: PASS X-ServerName: smtp.h3c.com X-Proofpoint-SPF-Result: temperror X-Proofpoint-SPF-Record: N/A X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8735 signatures=668637 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=0 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=161 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1712050087 Subject: [Ocfs2-devel] [PATCH] ocfs2/cluster: neaten a member of o2net_msg_handler X-BeenThere: ocfs2-devel@oss.oracle.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: ocfs2-devel-bounces@oss.oracle.com Errors-To: ocfs2-devel-bounces@oss.oracle.com X-Source-IP: userv0022.oracle.com [156.151.31.74] X-Virus-Scanned: ClamAV using ClamSMTP It's odd that o2net_msg_handler::nh_func_data is declared as type o2net_msg_handler_func*. So neaten it. Signed-off-by: Changwei Ge Reviewed-by: Alex Chen Reviewed-by: Joseph Qi --- fs/ocfs2/cluster/tcp_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;