From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (Postfix) with ESMTP id 9F15D7F4E for ; Tue, 5 May 2015 15:16:54 -0500 (CDT) Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by relay2.corp.sgi.com (Postfix) with ESMTP id 74BF0304032 for ; Tue, 5 May 2015 13:16:51 -0700 (PDT) Received: from mail-ig0-f169.google.com (mail-ig0-f169.google.com [209.85.213.169]) by cuda.sgi.com with ESMTP id n1jeUsxefKQBava2 (version=TLSv1 cipher=RC4-SHA bits=128 verify=NO) for ; Tue, 05 May 2015 13:16:49 -0700 (PDT) Received: by igblo3 with SMTP id lo3so111676204igb.1 for ; Tue, 05 May 2015 13:16:49 -0700 (PDT) From: Nicholas Krause Subject: [PATCH 02/12] xfs:Make the function,xfs_alloc_update static Date: Tue, 5 May 2015 16:16:29 -0400 Message-Id: <1430856999-31952-2-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_update now to be a statically defined function due to no callers outside of the declarition file,xfs_alloc.c. 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 48de3f0..096c6c8 100644 --- a/fs/xfs/libxfs/xfs_alloc.c +++ b/fs/xfs/libxfs/xfs_alloc.c @@ -101,7 +101,7 @@ xfs_alloc_lookup_le( * by [bno, len]. * This either works (return 0) or gets an EFSCORRUPTED error. */ -STATIC int /* error */ +static int /* error */ xfs_alloc_update( struct xfs_btree_cur *cur, /* btree cursor */ xfs_agblock_t bno, /* starting block of extent */ -- 2.1.4 _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs