From patchwork Sat Sep 23 03:41:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: piaojun X-Patchwork-Id: 9967379 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 5874C602CB for ; Sat, 23 Sep 2017 03:43:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4F37B29813 for ; Sat, 23 Sep 2017 03:43:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4419C29AA6; Sat, 23 Sep 2017 03:43:30 +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 8F3E929813 for ; Sat, 23 Sep 2017 03:43:29 +0000 (UTC) Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v8N3gtKn007336 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 23 Sep 2017 03:42:56 GMT Received: from oss.oracle.com (oss-old-reserved.oracle.com [137.254.22.2]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id v8N3goYK029074 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 23 Sep 2017 03:42:50 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 1dvbL8-00008m-BB; Fri, 22 Sep 2017 20:42:50 -0700 Received: from userv0022.oracle.com ([156.151.31.74]) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from ) id 1dvbL6-00008X-BQ for ocfs2-devel@oss.oracle.com; Fri, 22 Sep 2017 20:42:48 -0700 Received: from userp2040.oracle.com (userp2040.oracle.com [156.151.31.90]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v8N3glaZ029013 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Sat, 23 Sep 2017 03:42:48 GMT Received: from pps.filterd (userp2040.oracle.com [127.0.0.1]) by userp2040.oracle.com (8.16.0.21/8.16.0.21) with SMTP id v8N3ePEY005017 for ; Sat, 23 Sep 2017 03:42:47 GMT Authentication-Results: oracle.com; spf=pass smtp.mailfrom=piaojun@huawei.com Received: from szxga04-in.huawei.com (szxga04-in.huawei.com [45.249.212.190]) by userp2040.oracle.com with ESMTP id 2d5e8shjbw-1 (version=TLSv1 cipher=RC4-SHA bits=128 verify=NOT) for ; Sat, 23 Sep 2017 03:42:47 +0000 Received: from 172.30.72.59 (EHLO DGGEMS408-HUB.china.huawei.com) ([172.30.72.59]) by dggrg04-dlp.huawei.com (MOS 4.4.6-GA FastPath queued) with ESMTP id DHU10740; Sat, 23 Sep 2017 11:41:24 +0800 (CST) Received: from [10.177.253.249] (10.177.253.249) by smtp.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.301.0; Sat, 23 Sep 2017 11:41:17 +0800 To: , From: piaojun Message-ID: <59C5D7D6.9050106@huawei.com> Date: Sat, 23 Sep 2017 11:41:10 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 X-Originating-IP: [10.177.253.249] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020203.59C5D7E4.008A, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 0d7a03deb18088078b06b5407f251c2f X-CLX-Shades: MLX X-CLX-Response: 1TFkXGBMbEQpMehcdEhEKWU0XZ2ZyEQpZSRcHGRNxGwYHHRJ3BhgaGgYZGkI eBhoGGxoaBhpxGhAadwYaBhoGGgYaBhoGGnEaEBp3BhoRClleF2hueREKSUYXRVhLSUZPdVpYRU 5fSV5DRUQeEQpDThdpThxwS2sSQ0BGHxlDW25hGE9Ne3p4UnVraH5vZkRnaREKWFwXHwQaBBsbH QdMGUtJGUscGwUbGgQbGhoEHhIEHxAbHhofGhEKXlkXewEZUHkRCk1cFx4aHxEKTFoXaGlNa3sR CkNaFx4fBBgeEwQYGxgEGxMaEQpCXhcbEQpEXhcYEQpESRcYEQpCRhdteltla2VTbUxfQREKQlw XGhEKQkUXZlxse3BkYnoSfEMRCkJOF2xCSFlTGk1leHgdEQpCTBdvSxkSEkRZeVsbXxEKQmwXYw VCUmZAYl5ae1IRCkJAF2xgH0VcW39henMdEQpCWBdifW95AU8YGXBwexEKTV4XBxsRClpYFxsRC nBoF2RQXGwSTEMFXkYeEAcZGhEKcGgXYkZDQUxjBWRsXAEQBxkaEQpwaBdnc3B+Q2B6GlprYBAH GRoRCnBoF29PSXNhG2cYRFAFEAcZGhEKcGwXYUl5Q3pzSXhnbGIQGhEKbX4XBxsRClhNF0sRIA= = X-PDR: PASS X-ServerName: szxga04-in.huawei.com X-Proofpoint-SPF-Result: pass X-Proofpoint-SPF-Record: v=spf1 ip4:45.249.212.32 ip4:45.249.212.35 ip4:119.145.14.93 ip4:58.251.152.93 ip4:194.213.3.17 ip4:206.16.17.72 ip4:45.249.212.255 ip4:45.249.212.187/29 ip4:45.249.212.191 ~all X-Proofpoint-Virus-Version: vendor=nai engine=5800 definitions=8662 signatures=668562 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=78 malwarescore=0 suspectscore=2 phishscore=0 bulkscore=0 spamscore=0 clxscore=291 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000 definitions=main-1709230054 Cc: ocfs2-devel@oss.oracle.com Subject: [Ocfs2-devel] [patch 2/2] ocfs2: clean up some unused func declaration 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: userv0021.oracle.com [156.151.31.71] X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Jun Piao Reviewed-by: Alex Chen Reviewed-by: Joseph Qi --- 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 -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);