From patchwork Mon Nov 6 14:34:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 10043577 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 DDF6A60247 for ; Mon, 6 Nov 2017 14:35:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CBF2329D22 for ; Mon, 6 Nov 2017 14:35:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C11EE29D43; Mon, 6 Nov 2017 14:35:28 +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 C837B29D3D for ; Mon, 6 Nov 2017 14:35:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753125AbdKFOfZ (ORCPT ); Mon, 6 Nov 2017 09:35:25 -0500 Received: from bombadil.infradead.org ([65.50.211.133]:41810 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753078AbdKFOfX (ORCPT ); Mon, 6 Nov 2017 09:35:23 -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=bqmeVAohFzMBOe07helHxQRNRuiPdXh9ilX36yxoonE=; b=QAljjrizsZLiFSJliiN/g3Ro/ V+Hnkj9b0OOjqGtU0A+8oAO0XxqduY2TYU1dLEX+Hebu76T2JLhosN0FCcVlfuH96VHEEaf8n6gNz Fg8wYDlKohwvLYWBAbYqvDzFEDPTPcoHnrKE0nPq/USBHSR4v+IKm833nsPjLnfkz0zFccZVQ6z6w TCXwaRDf6jSovWg7G0f5QV9WsWC4gGAf1fvrrchSMP8fdP8HyxDqc9l/pzUfUgIQTnBs+crqR4mr9 3YTcQKhEDNOkEGy1nRDDY4S7bt5Lbvhum3EK+xTZdRNEhnHTS4JwTNWbri3MP8KgBIY77ROW8RSFA d9P19/xuA==; 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 1eBiUk-00026y-S6 for linux-xfs@vger.kernel.org; Mon, 06 Nov 2017 14:35:23 +0000 From: Christoph Hellwig To: linux-xfs@vger.kernel.org Subject: [PATCH 8/8] xfs: mark xlog_verify_dest_ptr STATIC Date: Mon, 6 Nov 2017 15:34:56 +0100 Message-Id: <20171106143456.13567-9-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 We already did it in the forward declaration, but not for the function body itself. Signed-off-by: Christoph Hellwig Reviewed-by: Darrick J. Wong --- fs/xfs/xfs_log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c index 3ce44e6d6639..38d4227895ae 100644 --- a/fs/xfs/xfs_log.c +++ b/fs/xfs/xfs_log.c @@ -3763,7 +3763,7 @@ xlog_ticket_alloc( * one of the iclogs. This uses backup pointers stored in a different * part of the log in case we trash the log structure. */ -void +STATIC void xlog_verify_dest_ptr( struct xlog *log, void *ptr)