xfs
[Top] [All Lists]

[PATCH 04/12] xfs:Make the function,xfs_alloc_fix_len static

To: david@xxxxxxxxxxxxx
Subject: [PATCH 04/12] xfs:Make the function,xfs_alloc_fix_len static
From: Nicholas Krause <xerofoify@xxxxxxxxx>
Date: Tue, 5 May 2015 16:16:31 -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=QRofd7SbIMqR9Sh2KUnkQ8afy4u1MVZvex8PhKQ8QeY=; b=FsOm7cCcehAq62o54kZhO+9Ose+8nPyJhPL+cn/2zyynD9KimzCes+rfz5BH/+JeFp 4jmKGal+ydQ7gMuD/R33F9fiatPM/Mn/tzof+a5f9cLdU+R+P+hkWMUDkoSG8hVnvLcc Dxvj7RNKGDU9gTy7750v6FZThK3X2lWOrg34etEACIq/G0dwERlo4c3AaFwBkCdwTcBF Kx25JgMCGnXRbCOwIn45sCQE8zW59wF7PHG5Zm5g0M0IDkG7K66P/qyCroh7p5sR68gR CcokGhDHhAlBRtwFChrFzFJg2ZPkCNrMqBHyTC4UzErgiGX+IE5eS0YDaLm3rqN4219w 5bPg==
In-reply-to: <1430856999-31952-1-git-send-email-xerofoify@xxxxxxxxx>
References: <1430856999-31952-1-git-send-email-xerofoify@xxxxxxxxx>
This properly makes the function,xfs_alloc_fix_len static
due to no callers outside of the file this function is
declared and defined in.

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 5e575ac..71d20a4 100644
--- a/fs/xfs/libxfs/xfs_alloc.c
+++ b/fs/xfs/libxfs/xfs_alloc.c
@@ -239,7 +239,7 @@ xfs_alloc_compute_diff(
  * If len is too small it is returned unchanged.
  * If len hits maxlen it is left alone.
  */
-STATIC void
+static void
 xfs_alloc_fix_len(
        xfs_alloc_arg_t *args)          /* allocation argument structure */
 {
-- 
2.1.4

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