xfs
[Top] [All Lists]

[PATCH 11/12] xfs:Make the function,xfs_free_ag_extent static

To: david@xxxxxxxxxxxxx
Subject: [PATCH 11/12] xfs:Make the function,xfs_free_ag_extent static
From: Nicholas Krause <xerofoify@xxxxxxxxx>
Date: Tue, 5 May 2015 16:16:38 -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=npsz0i4btucNZKqXnqBH3tct96ErFyx6uvq1mkHDK6A=; b=ay53FmJwFRnLwnbxfXmx81eQ285Aqk0xbI55J2n1pv6Sw9fZl+/lUOcqWVeOSdWcPF nghhBCikWZgeztSxIugM0jj4Anyk9sfiiS+6Sdl0lreAchmfoYDXVUZgI/EScqbK1N4n SC2UUJauCX7sTdqu0KghY1Hov2Zug0odz1iKKkZMBC4vVwaf2dKAutG+vTStAAAAOvrq e6uowfm6bAqQRhuxfB13ovuaGRY+nkJ0ibYV9ravZdjHlDuD+KS6qiz2jnSwAUPsahyz VnWhKMagxv6Jlar/3araJ5FIRCnjxI4s0V2iJoqCQwtDKszd01p3p/zcBsVW/Kka/2V+ 42Dw==
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_free_ag_extent static now due
to having no external callers from outside the declaration
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 cd09335..cbdd804 100644
--- a/fs/xfs/libxfs/xfs_alloc.c
+++ b/fs/xfs/libxfs/xfs_alloc.c
@@ -1542,7 +1542,7 @@ error0:
 /*
  * Free the extent starting at agno/bno for length.
  */
-STATIC int                     /* error */
+static int                     /* error */
 xfs_free_ag_extent(
        xfs_trans_t     *tp,    /* transaction pointer */
        xfs_buf_t       *agbp,  /* buffer for a.g. freelist header */
-- 
2.1.4

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