xfs
[Top] [All Lists]

[PATCH 07/12] xfs:Make the function,xfs_alloc_read_agfl static

To: david@xxxxxxxxxxxxx
Subject: [PATCH 07/12] xfs:Make the function,xfs_alloc_read_agfl static
From: Nicholas Krause <xerofoify@xxxxxxxxx>
Date: Tue, 5 May 2015 16:16:34 -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=nlKzLR2FZ4bu8D6PpgDGioOhtbLAYw7ajDMM3Ms+wNw=; b=Qo20Qf5ez6vDFKRoGuSYPH/WdiF2e8EH5suHXnObUNMNy4KAmtXGYAcF8zs4C9pFH4 Q06mb/LyMtkQrw0A37kMNnMidEBGkfqv/enShb6Oi7RaRmcqGWiEzHEnXXb+MlD/2wD5 X0aUvq4MNu1rMMtMERRUt9AZ8luZOXJah+NfWMRu2r8YtTh8AnNuGAWOdrBgiHbQbH3t UwrPOuDmZUeGxZwG7QDpfrJW5hQNGKtcrnA+SCMWLEjtWkoYK0Zz5r3aJhh1/1n1nBha qnMdzOo1Hp30KpqpniylQlMiivgncvOtL9g8C5IJ/v0FRfDfp0A1czuc1X/aohU+JCKB 4PoQ==
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_read_agfl static now due to
having no external callers 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 4492311..53ed3f3 100644
--- a/fs/xfs/libxfs/xfs_alloc.c
+++ b/fs/xfs/libxfs/xfs_alloc.c
@@ -526,7 +526,7 @@ const struct xfs_buf_ops xfs_agfl_buf_ops = {
 /*
  * Read in the allocation group free block array.
  */
-STATIC int                             /* error */
+static int                             /* error */
 xfs_alloc_read_agfl(
        xfs_mount_t     *mp,            /* mount point structure */
        xfs_trans_t     *tp,            /* transaction pointer */
-- 
2.1.4

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