From patchwork Mon Nov 6 14:34:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 10043573 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 53A20604D3 for ; Mon, 6 Nov 2017 14:35:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4086029CD0 for ; Mon, 6 Nov 2017 14:35:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3588D29D3E; Mon, 6 Nov 2017 14:35:22 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4446B29D41 for ; Mon, 6 Nov 2017 14:35:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752315AbdKFOfS (ORCPT ); Mon, 6 Nov 2017 09:35:18 -0500 Received: from bombadil.infradead.org ([65.50.211.133]:59338 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752756AbdKFOfR (ORCPT ); Mon, 6 Nov 2017 09:35:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=References:In-Reply-To:Message-Id: Date:Subject:To:From:Sender:Reply-To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=XQy+Fl7lK9fgKt49+GdFuAY90Jextv/eX2CzZYFgopc=; b=hMPVf2DTnBlE1h9auPrI5Eiay 4Uu9JEOAgeMlcw7RJQL7w45HuE2f7HG5IXyQrvxNFLA4cMEDRCf1zYik/LTnY7i5/Foel7vMMpJb5 0yY+CNG+lu5s76+xzpF0mbquTLb0cWeYQsrfjrcX9uY45VGWzsTMep0PSxH5FTmsgXaaa77vKi2y6 ktg9WyBGsDOsHel5ng5FDZi8Q3opliZk+vEzZ65UiLG9rDEFD8xD8KfcWiAYY29xWjxmwunkQJo9d I4t1L/E9gN3ckWDl3bFSqk11atCfmcGDboytAQr2TfMpuy1lwgigk9MBNZRbqZ96GKEiJE2AKan5B aEaYYjp7w==; Received: from clnet-p099-196.ikbnet.co.at ([83.175.99.196] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.87 #1 (Red Hat Linux)) id 1eBiUf-00025v-7o for linux-xfs@vger.kernel.org; Mon, 06 Nov 2017 14:35:17 +0000 From: Christoph Hellwig To: linux-xfs@vger.kernel.org Subject: [PATCH 6/8] xfs: mark xfs_btree_check_lblock and xfs_btree_check_ptr static Date: Mon, 6 Nov 2017 15:34:54 +0100 Message-Id: <20171106143456.13567-7-hch@lst.de> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171106143456.13567-1-hch@lst.de> References: <20171106143456.13567-1-hch@lst.de> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-xfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Christoph Hellwig Reviewed-by: Darrick J. Wong --- fs/xfs/libxfs/xfs_btree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/xfs/libxfs/xfs_btree.c b/fs/xfs/libxfs/xfs_btree.c index 994fc1c8c7c6..5f33adf8eecb 100644 --- a/fs/xfs/libxfs/xfs_btree.c +++ b/fs/xfs/libxfs/xfs_btree.c @@ -109,7 +109,7 @@ __xfs_btree_check_lblock( } /* Check a long btree block header. */ -int +static int xfs_btree_check_lblock( struct xfs_btree_cur *cur, struct xfs_btree_block *block, @@ -239,7 +239,7 @@ xfs_btree_check_sptr( * Check that a given (indexed) btree pointer at a certain level of a * btree is valid and doesn't point past where it should. */ -int +static int xfs_btree_check_ptr( struct xfs_btree_cur *cur, union xfs_btree_ptr *ptr,