summaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_alloc.c
diff options
context:
space:
mode:
authorEric Sandeen2016-06-01 09:38:15 +0200
committerDave Chinner2016-06-01 09:38:15 +0200
commit0d5a75e9e23ee39cd0d8a167393dcedb4f0f47b2 (patch)
treed9939f394f84061b34691df16c894d99ea29e731 /fs/xfs/libxfs/xfs_alloc.c
parentxfs: remove spurious shutdown type check from xfs_bmap_finish() (diff)
downloadkernel-qcow2-linux-0d5a75e9e23ee39cd0d8a167393dcedb4f0f47b2.tar.gz
kernel-qcow2-linux-0d5a75e9e23ee39cd0d8a167393dcedb4f0f47b2.tar.xz
kernel-qcow2-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/libxfs/xfs_alloc.c')
-rw-r--r--fs/xfs/libxfs/xfs_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_alloc.c b/fs/xfs/libxfs/xfs_alloc.c
index a708e38b494c..99b077cbdd97 100644
--- a/fs/xfs/libxfs/xfs_alloc.c
+++ b/fs/xfs/libxfs/xfs_alloc.c
@@ -84,7 +84,7 @@ xfs_alloc_lookup_ge(
* Lookup the first record less than or equal to [bno, len]
* in the btree given by cur.
*/
-int /* error */
+static int /* error */
xfs_alloc_lookup_le(
struct xfs_btree_cur *cur, /* btree cursor */
xfs_agblock_t bno, /* starting block of extent */