xfs
[Top] [All Lists]

[PATCH 09/12] xfs:Make the function,xfs_alloc_ag_vextent static

To: david@xxxxxxxxxxxxx
Subject: [PATCH 09/12] xfs:Make the function,xfs_alloc_ag_vextent static
From: Nicholas Krause <xerofoify@xxxxxxxxx>
Date: Tue, 5 May 2015 16:16:36 -0400
Cc: xfs@xxxxxxxxxxx, bfoster@xxxxxxxxxx, sandeen@xxxxxxxxxxx, hch@xxxxxx, jack@xxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=lxrm0oS4/pOio+oO9PVPXZjAdBMExx1loWZwqT3rTww=; b=TKQa17sYSR6vHASDQ38MhjV95B6c1dBz6y0h1NvoGnGdRubfRAzZW1Mj96amR8caHj HRCsJwUIqVdBNvtebcDXII3+9aAuFyVGTIbiKihpoUFFtiB0F03ktqhpTYA6B2OKtIq4 pYFiX5862Wv2doQGYmrjr6gPDxZxtSycpgVfTAGWLCmJtsLoT4V1V0R5qI2Ohg3C6Lyx /57K/gdqpOJ0g+vJs2HmcT+UlS96r4vOreLkiwYX8WCDFjq+SkINNSRg/IOtd+WP35pJ hwB7AkOMyYfT99MObDcDAW4ndpy3jpTNLeCG+rQogsY4zB4qEMGxOHj5P2UsLpDLrifQ WP3Q==
In-reply-to: <1430856999-31952-1-git-send-email-xerofoify@xxxxxxxxx>
References: <1430856999-31952-1-git-send-email-xerofoify@xxxxxxxxx>
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@xxxxxxxxx>
---
 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

<Prev in Thread] Current Thread [Next in Thread>