[PATCH 09/12] xfs:Make the function,xfs_alloc_ag_vextent static
Nicholas Krause
xerofoify at gmail.com
Tue May 5 15:16:36 CDT 2015
This makes the function,xfs_alloc_ag_vextent static
now due to its only callers being in the same file
as this function's declaration and definition.
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 2f94b53..3c9a58f 100644
--- a/fs/xfs/libxfs/xfs_alloc.c
+++ b/fs/xfs/libxfs/xfs_alloc.c
@@ -581,7 +581,7 @@ xfs_alloc_update_counters(
* and of the form k * prod + mod unless there's nothing that large.
* Return the starting a.g. block, or NULLAGBLOCK if we can't do it.
*/
-STATIC int /* error */
+static int /* error */
xfs_alloc_ag_vextent(
xfs_alloc_arg_t *args) /* argument structure for allocation */
{
--
2.1.4
More information about the xfs
mailing list