xfs
[Top] [All Lists]

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

To: david@xxxxxxxxxxxxx
Subject: [PATCH 10/12] xfs:Make the function, xfs_alloc_find_best_extent static
From: Nicholas Krause <xerofoify@xxxxxxxxx>
Date: Tue, 5 May 2015 16:16:37 -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=h0/eEA1tt5suRkiyan3kpovViqmO6PW5f6xYx4wPY3E=; b=lDerzPGUx0A2C5b/FfFBpy5PNfHDTtDwENRNgcPE9QDbcYrIz40TNlU5av8/cCQ9hk dG8y1d3EihrqX/g+apj6QJ9dZOyEC6TLJhEZnU4ad+Nfeo2rJPt8dHJoKEyDfSb4QQbs Ro70+mS4zxBgdV8kILUQto53dy/dnHfH6df48N7N3pERkSBbbJc5yN0qV4PKV/wEF75b 9Y4ZBncmULw+TzA5osnviiwSZxF7NMoMy38nfynD4hy/B5PWj6nCWZrHzx2J0znbdYd2 T3bMqsFyBg/e1GeANdTGirv8BlXmNVOfWB3KTPylTn5cBWda3u770tCy2sbbDYP994ZV CqBw==
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_find_best_extent to be static
now due to having no external calls to this function.

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 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

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