aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2016-01-04 00:10:42 -0500
committerDave Chinner <david@fromorbit.com>2016-01-04 00:10:42 -0500
commit2e9101da6047796d7fdee292e10a5c23d5c8b7ee (patch)
treee881225d30f68c2078a6fdbc5142ef5490381ec4 /fs/xfs
parent211fe1a4db74141d2ea4a6dae0dc862b1d88f6b9 (diff)
libxfs: make xfs_alloc_fix_freelist non-static
Since xfs_repair wants to use xfs_alloc_fix_freelist, remove the static designation. xfsprogs already has this; this simply brings the kernel up to date. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs')
-rw-r--r--fs/xfs/libxfs/xfs_alloc.c2
-rw-r--r--fs/xfs/libxfs/xfs_alloc.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_alloc.c b/fs/xfs/libxfs/xfs_alloc.c
index e1e7fe3b5424..a708e38b494c 100644
--- a/fs/xfs/libxfs/xfs_alloc.c
+++ b/fs/xfs/libxfs/xfs_alloc.c
@@ -1927,7 +1927,7 @@ xfs_alloc_space_available(
1927 * Decide whether to use this allocation group for this allocation. 1927 * Decide whether to use this allocation group for this allocation.
1928 * If so, fix up the btree freelist's size. 1928 * If so, fix up the btree freelist's size.
1929 */ 1929 */
1930STATIC int /* error */ 1930int /* error */
1931xfs_alloc_fix_freelist( 1931xfs_alloc_fix_freelist(
1932 struct xfs_alloc_arg *args, /* allocation argument structure */ 1932 struct xfs_alloc_arg *args, /* allocation argument structure */
1933 int flags) /* XFS_ALLOC_FLAG_... */ 1933 int flags) /* XFS_ALLOC_FLAG_... */
diff --git a/fs/xfs/libxfs/xfs_alloc.h b/fs/xfs/libxfs/xfs_alloc.h
index 0ecde4d5cac8..135eb3d24db7 100644
--- a/fs/xfs/libxfs/xfs_alloc.h
+++ b/fs/xfs/libxfs/xfs_alloc.h
@@ -235,5 +235,6 @@ xfs_alloc_get_rec(
235 235
236int xfs_read_agf(struct xfs_mount *mp, struct xfs_trans *tp, 236int xfs_read_agf(struct xfs_mount *mp, struct xfs_trans *tp,
237 xfs_agnumber_t agno, int flags, struct xfs_buf **bpp); 237 xfs_agnumber_t agno, int flags, struct xfs_buf **bpp);
238int xfs_alloc_fix_freelist(struct xfs_alloc_arg *args, int flags);
238 239
239#endif /* __XFS_ALLOC_H__ */ 240#endif /* __XFS_ALLOC_H__ */