xfs
[Top] [All Lists]

[PATCH dgc-xfs] xfs: xfs_ioctl_setattr_check_extsize can be static

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: [PATCH dgc-xfs] xfs: xfs_ioctl_setattr_check_extsize can be static
From: kbuild test robot <fengguang.wu@xxxxxxxxx>
Date: Mon, 2 Feb 2015 15:00:42 +0800
Cc: kbuild-all@xxxxxx, xfs@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <201502021535.BvQbm6Lm%fengguang.wu@xxxxxxxxx>
References: <201502021535.BvQbm6Lm%fengguang.wu@xxxxxxxxx>
User-agent: Mutt/1.5.23 (2014-03-12)
fs/xfs/xfs_ioctl.c:1102:1: sparse: symbol 'xfs_ioctl_setattr_check_extsize' was 
not declared. Should it be static?

Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---
 xfs_ioctl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/xfs/xfs_ioctl.c b/fs/xfs/xfs_ioctl.c
index 9f80853..992b669 100644
--- a/fs/xfs/xfs_ioctl.c
+++ b/fs/xfs/xfs_ioctl.c
@@ -1098,7 +1098,7 @@ out_cancel:
        return ERR_PTR(error);
 }
 
-int
+static int
 xfs_ioctl_setattr_check_extsize(
        struct xfs_inode        *ip,
        struct fsxattr          *fa)

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