summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_bmap_util.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@sandeen.net>2016-06-01 17:38:15 +1000
committerDave Chinner <david@fromorbit.com>2016-06-01 17:38:15 +1000
commit0d5a75e9e23ee39cd0d8a167393dcedb4f0f47b2 (patch)
treed9939f394f84061b34691df16c894d99ea29e731 /fs/xfs/xfs_bmap_util.c
parent0c871f9a101a290e61af02df49087d118543caeb (diff)
downloadlinux-0d5a75e9e23ee39cd0d8a167393dcedb4f0f47b2.tar.gz
linux-0d5a75e9e23ee39cd0d8a167393dcedb4f0f47b2.tar.bz2
linux-0d5a75e9e23ee39cd0d8a167393dcedb4f0f47b2.zip
xfs: make several functions static
Al Viro noticed that xfs_lock_inodes should be static, and that led to ... a few more. These are just the easy ones, others require moving functions higher in source files, so that's not done here to keep this review simple. Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_bmap_util.c')
-rw-r--r--fs/xfs/xfs_bmap_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_bmap_util.c b/fs/xfs/xfs_bmap_util.c
index 3ce3c61af32a..28c42fb0c12a 100644
--- a/fs/xfs/xfs_bmap_util.c
+++ b/fs/xfs/xfs_bmap_util.c
@@ -407,7 +407,7 @@ xfs_bmap_count_tree(
/*
* Count fsblocks of the given fork.
*/
-int /* error */
+static int /* error */
xfs_bmap_count_blocks(
xfs_trans_t *tp, /* transaction pointer */
xfs_inode_t *ip, /* incore inode */