xfs
[Top] [All Lists]

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

To: david@xxxxxxxxxxxxx
Subject: [PATCH 01/12] xfs:Make the function,xfs_alloc_lookup_eq static
From: Nicholas Krause <xerofoify@xxxxxxxxx>
Date: Tue, 5 May 2015 16:16:28 -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; bh=SwPdb9WOoJHDV96tyVAd2dwrriNjISkuTkQWcU/mnTE=; b=ZIDlZ3sQkQczHHId6BOJkNpFVSJB0KZk9NlQr6vJyUqFplETD0Peg4+SWkQIj8r3Cg c/euuRa32rY+WjRH12QgUuIVzaLHEcmSOZKSgJwjiOwr9WNg1M4q6EzD3XgmQ3YfBg+L hPjBC5WcvzQ+6LhYcy/ClUNM7AAsVgMWjYMGHXrgIMZsS4L7EvPqSn23FJOlbXkHqAZ6 1EhZlJz4HWlOjppzUUGSxR7Ruo7PgAjjp9iQsq1ndKpt/g0YX6QWdF74xkwYlgPbOKsg eftECSvj44YQMNAdPXrHnU7DtBH9Dif14umfY2yZmbSXcPamf67qAZxVInSB9f7KlHyv vzmA==
This makes the function,xfs_alloc_lookup_eq static as there are no
calls to this function outside the definition file for this function,
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 516162b..48de3f0 100644
--- a/fs/xfs/libxfs/xfs_alloc.c
+++ b/fs/xfs/libxfs/xfs_alloc.c
@@ -52,7 +52,7 @@ STATIC int xfs_alloc_ag_vextent_small(xfs_alloc_arg_t *,
 /*
  * Lookup the record equal to [bno, len] in the btree given by cur.
  */
-STATIC int                             /* error */
+static int                             /* error */
 xfs_alloc_lookup_eq(
        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>