summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_iops.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2017-08-31 15:11:06 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2017-09-02 08:22:19 -0700
commit7bf7a193a90cadccaad21c5970435c665c40fe27 (patch)
tree8246e0d6e4e57723ed4e657d2a4744c3511fd5a7 /fs/xfs/xfs_iops.c
parentd897246df9fc0a5df97a784bf7b072be4a6ae479 (diff)
downloadlinux-7bf7a193a90cadccaad21c5970435c665c40fe27.tar.bz2
xfs: fix compiler warnings
Fix up all the compiler warnings that have crept in. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_iops.c')
-rw-r--r--fs/xfs/xfs_iops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_iops.c b/fs/xfs/xfs_iops.c
index 469c9fa4c178..17081c77ef86 100644
--- a/fs/xfs/xfs_iops.c
+++ b/fs/xfs/xfs_iops.c
@@ -817,7 +817,7 @@ xfs_vn_setattr_nonsize(
* Caution: The caller of this function is responsible for calling
* setattr_prepare() or otherwise verifying the change is fine.
*/
-int
+STATIC int
xfs_setattr_size(
struct xfs_inode *ip,
struct iattr *iattr)