xfs
[Top] [All Lists]

[PATCH 03/12] xfs:Make the function,xfs_alloc_compute_aligned static

To: david@xxxxxxxxxxxxx
Subject: [PATCH 03/12] xfs:Make the function,xfs_alloc_compute_aligned static
From: Nicholas Krause <xerofoify@xxxxxxxxx>
Date: Tue, 5 May 2015 16:16:30 -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=vP0fl/XFj4a+MyYee0GSaDRetywHYBiEXRBaCRQWmOQ=; b=YfxXodIH5OIm0zQs9HYFuhiPyvUsUS49pFldMu9LB+h1ecDgV9psLb5VHiaeWASBfh mG3AMfkt7+n19pFs/WuNNmaOzYVjkig3Y3Y9z6uKHT4QIVQP7HbSI+6GCZGnnoNcSrGj Ihl527S0C+gMBh6uOUYkwizJkM30DL+HUxJSAJQ2Y4dQ7fAuilsLBRTP71AuuMDmWUxk G1EPF9dWJQ7xvgm2rf19ReFQ+acX2k2gJGdKZLVaWyJqvzUqdDWWYuqcagPzRO5SVFMe 9nTRjFxtuLsf4Ec7fp5Q1oD0H/gmtVWjE4QOt3DW/l28q7aq8FVpowpAJ6FSxA9c5uhR 9HRw==
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_compute_aligned static
now as there are no callers outside of the function's
declariton file.

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 096c6c8..5e575ac 100644
--- a/fs/xfs/libxfs/xfs_alloc.c
+++ b/fs/xfs/libxfs/xfs_alloc.c
@@ -139,7 +139,7 @@ xfs_alloc_get_rec(
  * Compute aligned version of the found extent.
  * Takes alignment and min length into account.
  */
-STATIC void
+static void
 xfs_alloc_compute_aligned(
        xfs_alloc_arg_t *args,          /* allocation argument structure */
        xfs_agblock_t   foundbno,       /* starting block in found extent */
-- 
2.1.4

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