xfs
[Top] [All Lists]

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

To: david@xxxxxxxxxxxxx
Subject: [PATCH 12/12] xfs:Make the function,xfs_alloc_fix_freelist static
From: Nicholas Krause <xerofoify@xxxxxxxxx>
Date: Tue, 5 May 2015 16:16:39 -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=AmsMJXOoWfnLnEnIy626M8ISGVD6fPq6K0t/M6HPdow=; b=SVcg74O0nusn9gZWhkPT5yKCBHj8lP9ixyBP4SiWb7fFQ6OonnYxnyuTt8H7wj759I CLQnMHSSw6W3l0+COeAe35m4hgqpgFzD4LWTW2EvwjM9uUq9Yue+23PB8KVEHjXohoFB fwsO5MLKSAIBGMFBLjBxPr5k6yZeoEA6pqPeWXofaq6Gywh55OCiLFvFJ4Rb0mMBa15Y yyZ1qshdOySRga8UnPmdCU1dR+GnjIGurv/3i8S7kIouIIB7aCVbGR91xWoDbl3MOjQq PeMgW6rk7evy5ujXApUFCla93XA0SWh6juQiZsIg7I3ul7CvCYo/q8J+gDQFG4oYK3hH 8VFw==
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_fix_freelist static now
due to it having no external callers.

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 cbdd804..6628d5e 100644
--- a/fs/xfs/libxfs/xfs_alloc.c
+++ b/fs/xfs/libxfs/xfs_alloc.c
@@ -1842,7 +1842,7 @@ xfs_alloc_longest_free_extent(
  * Decide whether to use this allocation group for this allocation.
  * If so, fix up the btree freelist's size.
  */
-STATIC int                     /* error */
+static int                     /* error */
 xfs_alloc_fix_freelist(
        xfs_alloc_arg_t *args,  /* allocation argument structure */
        int             flags)  /* XFS_ALLOC_FLAG_... */
-- 
2.1.4

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