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

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


This makes the function,xfs_free_ag_extent static now due
to having no external callers from outside the declaration
file,xfs_alloc.c.

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 cd09335..cbdd804 100644
--- a/fs/xfs/libxfs/xfs_alloc.c
+++ b/fs/xfs/libxfs/xfs_alloc.c
@@ -1542,7 +1542,7 @@ error0:
 /*
  * Free the extent starting at agno/bno for length.
  */
-STATIC int			/* error */
+static int			/* error */
 xfs_free_ag_extent(
 	xfs_trans_t	*tp,	/* transaction pointer */
 	xfs_buf_t	*agbp,	/* buffer for a.g. freelist header */
-- 
2.1.4



More information about the xfs mailing list