From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15]) by oss.sgi.com (Postfix) with ESMTP id AF45D7F47 for ; Tue, 5 May 2015 15:17:06 -0500 (CDT) Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by relay3.corp.sgi.com (Postfix) with ESMTP id 43E3BAC002 for ; Tue, 5 May 2015 13:17:06 -0700 (PDT) Received: from mail-ie0-f174.google.com (mail-ie0-f174.google.com [209.85.223.174]) by cuda.sgi.com with ESMTP id fZYUbkmeuinMR4K4 (version=TLSv1 cipher=RC4-SHA bits=128 verify=NO) for ; Tue, 05 May 2015 13:17:03 -0700 (PDT) Received: by ieczm2 with SMTP id zm2so12316578iec.2 for ; Tue, 05 May 2015 13:17:03 -0700 (PDT) From: Nicholas Krause Subject: [PATCH 10/12] xfs:Make the function, xfs_alloc_find_best_extent static Date: Tue, 5 May 2015 16:16:37 -0400 Message-Id: <1430856999-31952-10-git-send-email-xerofoify@gmail.com> In-Reply-To: <1430856999-31952-1-git-send-email-xerofoify@gmail.com> References: <1430856999-31952-1-git-send-email-xerofoify@gmail.com> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: david@fromorbit.com Cc: jack@suse.cz, bfoster@redhat.com, sandeen@sandeen.net, linux-kernel@vger.kernel.org, xfs@oss.sgi.com, hch@lst.de This makes the function, xfs_alloc_find_best_extent to be static now due to having no external calls to this function. Signed-off-by: Nicholas Krause --- fs/xfs/libxfs/xfs_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/xfs/libxfs/xfs_alloc.c b/fs/xfs/libxfs/xfs_alloc.c index 3c9a58f..cd09335 100644 --- a/fs/xfs/libxfs/xfs_alloc.c +++ b/fs/xfs/libxfs/xfs_alloc.c @@ -760,7 +760,7 @@ error0: * Search the btree in a given direction via the search cursor and compare * the records found against the good extent we've already found. */ -STATIC int +static int xfs_alloc_find_best_extent( struct xfs_alloc_arg *args, /* allocation argument structure */ struct xfs_btree_cur **gcur, /* good cursor */ -- 2.1.4 _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs