xfs
[Top] [All Lists]

[PATCH 02/12] xfs:Make the function,xfs_alloc_update static

To: david@xxxxxxxxxxxxx
Subject: [PATCH 02/12] xfs:Make the function,xfs_alloc_update static
From: Nicholas Krause <xerofoify@xxxxxxxxx>
Date: Tue, 5 May 2015 16:16:29 -0400
Cc: xfs@xxxxxxxxxxx, bfoster@xxxxxxxxxx, sandeen@xxxxxxxxxxx, hch@xxxxxx, jack@xxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=kUqyZALPsqJ/efqCzsHTZvrpQCokMnawiZSEvGBfyas=; b=FQV6Giqljcd0r6DEUqVpJh3GJ8Mj6EN3jW95IPcJVPcQyX/lATSwdBI/GWulgAq0BI A5kBUiztkqJ3PRy7TNLcgyHd9/Y5qtgospUQpydja8WK7WuiJ477RPfejuGzFTW26GgY omSHYdZog1LhMgQ3b0NBjFxdRB6zhl3qT7NoXfKNqIZPTtEAov40idNDk40O1dct9Hsx my9Cb9pXSvMsrtthOzBxqfI+PL14vPS50Nb0oXTXpfbSlh4Z0RgMSawR2+ofYji62Muw dmuvIfWMWdxeH1QGqoz3KD6QdpSG2AdzXfEH8oyTK5tWwypXB9Gg9kAHKw2Al9gE01BF +dEg==
In-reply-to: <1430856999-31952-1-git-send-email-xerofoify@xxxxxxxxx>
References: <1430856999-31952-1-git-send-email-xerofoify@xxxxxxxxx>
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 <xerofoify@xxxxxxxxx>
---
 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

<Prev in Thread] Current Thread [Next in Thread>