xfs
[Top] [All Lists]

[PATCH 05/12] xfs:Make the function, xfs_alloc_fix_minleft static

To: david@xxxxxxxxxxxxx
Subject: [PATCH 05/12] xfs:Make the function, xfs_alloc_fix_minleft static
From: Nicholas Krause <xerofoify@xxxxxxxxx>
Date: Tue, 5 May 2015 16:16:32 -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=yGlHIXkWHor++BbSaZ9q+hZEbSAywhL/8Kn2xgX298M=; b=WvjiLGUy3aqOAYzPi13vOtpvIbJHGZPKpUku1pbHvTeD6tY36inGI7cQ1cXhQCCePv fwx2mB7fxdCrZ3yxpOgknnUE4T2cB7m/Tm1Kls3DO1WXWzkx85fwO8igaF63+wlRCCV6 Wo0hab/onWHIfUp27zgStQ+vaJe5Ceej+mlMISI9c2nF+sjtFfu3H659n0713pTMpmbU HmPQjmpSb/0wa+SH14TOOccVbhWNgvhZCefv8MXKFKFw7gOTzRKpnyu9Zdz/aWEGgDJD WYl9esKppWa5uxstACRHxv4HwwVXY0ePo4/TqALSdH/ncUArAQ6jsGsfQ1YI365IJ9ii 4d7w==
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_fix_minleft to be static
due to no callers of this function outside the file,xfs_alloc.c.

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 71d20a4..fdf2877 100644
--- a/fs/xfs/libxfs/xfs_alloc.c
+++ b/fs/xfs/libxfs/xfs_alloc.c
@@ -272,7 +272,7 @@ xfs_alloc_fix_len(
  * Fix up length if there is too little space left in the a.g.
  * Return 1 if ok, 0 if too little, should give up.
  */
-STATIC int
+static int
 xfs_alloc_fix_minleft(
        xfs_alloc_arg_t *args)          /* allocation argument structure */
 {
-- 
2.1.4

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