From patchwork Sat Apr 21 11:41:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jia Guo X-Patchwork-Id: 10354091 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 E5B2E6019C for ; Sat, 21 Apr 2018 11:43:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D198928901 for ; Sat, 21 Apr 2018 11:43:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C492728915; Sat, 21 Apr 2018 11:43:49 +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=-2.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from aserp2130.oracle.com (aserp2130.oracle.com [141.146.126.79]) (using TLSv1.2 with cipher AES256-SHA256 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 29D2D28901 for ; Sat, 21 Apr 2018 11:43:48 +0000 (UTC) Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w3LBgSwQ135286; Sat, 21 Apr 2018 11:43:02 GMT Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp2130.oracle.com with ESMTP id 2hfttxrsg0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 21 Apr 2018 11:43:02 +0000 Received: from oss.oracle.com (oss-old-reserved.oracle.com [137.254.22.2]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w3LBgtlG031383 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 21 Apr 2018 11:42:56 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 1f9qut-0006UR-V3; Sat, 21 Apr 2018 04:42:55 -0700 Received: from aserv0022.oracle.com ([141.146.126.234]) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from ) id 1f9quA-0006Ni-Uf for ocfs2-devel@oss.oracle.com; Sat, 21 Apr 2018 04:42:11 -0700 Received: from userp2040.oracle.com (userp2040.oracle.com [156.151.31.90]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w3LBgAJ1027703 (version=TLSv1/SSLv3 cipher=AES256-SHA256 bits=256 verify=FAIL) for ; Sat, 21 Apr 2018 11:42:10 GMT Received: from pps.filterd (userp2040.oracle.com [127.0.0.1]) by userp2040.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w3LBgAqj004239 for ; Sat, 21 Apr 2018 11:42:10 GMT Received: from huawei.com (szxga07-in.huawei.com [45.249.212.35] (may be forged)) by userp2040.oracle.com with ESMTP id 2hfuxsyn7u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sat, 21 Apr 2018 11:42:09 +0000 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id B2F2B953E7B6; Sat, 21 Apr 2018 19:42:03 +0800 (CST) Received: from [10.177.218.160] (10.177.218.160) by smtp.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.361.1; Sat, 21 Apr 2018 19:41:56 +0800 From: Jia Guo To: "mfasheh@versity.com" , "jlbec@evilplan.org" , "junxiao.bi@oracle.com" , "jiangqi903@gmail.com" , "akpm@linux-foundation.org" Message-ID: <3e225eb0-6f0a-e950-1f53-2721aff49026@huawei.com> Date: Sat, 21 Apr 2018 19:41:17 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 Content-Language: en-US X-Originating-IP: [10.177.218.160] X-CFilter-Loop: Reflected X-CLX-Shades: MLX X-CLX-Response: 1TFkXGxMbEQpMehcYGhoRCllNF2dmchEKWUkXGnEaEBp3BhsdG3EfGhAadwY YGgYaEQpZXhdobmYRCklGF0VYS0lGT3VaWEVOX0leQ0VEGXVPSxEKQ04XaUFSfx1IcFx9fWZ5Gm RDZUVdUntYYnxmTURlWmhgB2cRClhcFx8EGgQbGRgHSBpJHhkfGR4FGxoEGxoaBB4SBB8QGx4aH xoRCl5ZF3lvZ01ZEQpNXBcZHBIRCkxaF2loaUJNXREKTU4XaBEKQ1oXHh8EGB4TBBgbGAQZHxEK Ql4XGxEKRF4XGxoRCkRJFxwRCkJGF2cTbWAbW2VCH359EQpCXBcaEQpCRRdjQWASWUIdZBhHGRE KQk4XbEJIWVMaTWV4eB0RCkJMF2twWktIRgVdU24SEQpCbBdgbRNsARpBaE4cexEKQkAXYEkff1 gTeh5pbH8RCkJYF2J9b3kBTxgZcHB7EQpaWBcYEQpwaBdkXX9LZ11Gb0JQXBAaEQpwaBd6GXgTX HwSHFhdeRAaEQpwaBdnUH9SQEAbflNJXBAaEQpwaBdlG25cYmluSBpEExAaEQpwbBdgehl+HERe a1oBGRAeEhEKbX4XGhEKWE0XSxEg X-PDR: PASS X-Source-IP: 45.249.212.35 X-ServerName: [45.249.212.35] 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=5900 definitions=8869 signatures=668698 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=200 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=191 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1804210129 X-Spam: Clean Cc: "ocfs2-devel@oss.oracle.com" Subject: [Ocfs2-devel] [PATCH] ocfs2: clean up redundant function declarations 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-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8869 signatures=668698 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1804210129 X-Virus-Scanned: ClamAV using ClamSMTP The function ocfs2_extend_allocation has been deleted, clean up its declaration. Fixes: 964f14a0d350 ("ocfs2: clean up some dead code") Signed-off-by: Jia Guo Reviewed-by: Jun Piao Reviewed-by: Gang He --- fs/ocfs2/file.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/ocfs2/file.h b/fs/ocfs2/file.h index 1fdc983..7eb7f03 100644 --- a/fs/ocfs2/file.h +++ b/fs/ocfs2/file.h @@ -65,8 +65,6 @@ int ocfs2_extend_no_holes(struct inode *inode, struct buffer_head *di_bh, u64 new_i_size, u64 zero_to); int ocfs2_zero_extend(struct inode *inode, struct buffer_head *di_bh, loff_t zero_to); -int ocfs2_extend_allocation(struct inode *inode, u32 logical_start, - u32 clusters_to_add, int mark_unwritten); int ocfs2_setattr(struct dentry *dentry, struct iattr *attr); int ocfs2_getattr(const struct path *path, struct kstat *stat, u32 request_mask, unsigned int flags);