[PATCH 04/12] xfs:Make the function,xfs_alloc_fix_len static

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


This properly makes the function,xfs_alloc_fix_len static
due to no callers outside of the file this function is
declared and defined in.

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 5e575ac..71d20a4 100644
--- a/fs/xfs/libxfs/xfs_alloc.c
+++ b/fs/xfs/libxfs/xfs_alloc.c
@@ -239,7 +239,7 @@ xfs_alloc_compute_diff(
  * If len is too small it is returned unchanged.
  * If len hits maxlen it is left alone.
  */
-STATIC void
+static void
 xfs_alloc_fix_len(
 	xfs_alloc_arg_t	*args)		/* allocation argument structure */
 {
-- 
2.1.4



More information about the xfs mailing list