[PATCH 02/12] xfs:Make the function,xfs_alloc_update static

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


This makes the function xfs_alloc_update now to be
a statically defined function due to no callers
outside of the declarition 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 48de3f0..096c6c8 100644
--- a/fs/xfs/libxfs/xfs_alloc.c
+++ b/fs/xfs/libxfs/xfs_alloc.c
@@ -101,7 +101,7 @@ xfs_alloc_lookup_le(
  * by [bno, len].
  * This either works (return 0) or gets an EFSCORRUPTED error.
  */
-STATIC int				/* error */
+static int				/* error */
 xfs_alloc_update(
 	struct xfs_btree_cur	*cur,	/* btree cursor */
 	xfs_agblock_t		bno,	/* starting block of extent */
-- 
2.1.4



More information about the xfs mailing list