[PATCH 10/12] xfs:Make the function, xfs_alloc_find_best_extent static
Nicholas Krause
xerofoify at gmail.com
Tue May 5 15:16:37 CDT 2015
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 at gmail.com>
---
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
More information about the xfs
mailing list