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

Nicholas Krause xerofoify at gmail.com
Tue May 5 15:16:30 CDT 2015


This makes the function,xfs_alloc_compute_aligned static
now as there are no callers outside of the function's
declariton file.

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 096c6c8..5e575ac 100644
--- a/fs/xfs/libxfs/xfs_alloc.c
+++ b/fs/xfs/libxfs/xfs_alloc.c
@@ -139,7 +139,7 @@ xfs_alloc_get_rec(
  * Compute aligned version of the found extent.
  * Takes alignment and min length into account.
  */
-STATIC void
+static void
 xfs_alloc_compute_aligned(
 	xfs_alloc_arg_t	*args,		/* allocation argument structure */
 	xfs_agblock_t	foundbno,	/* starting block in found extent */
-- 
2.1.4



More information about the xfs mailing list