un-static xfs_read_agf
authorEric Sandeen <sandeen@sandeen.net>
Fri, 3 Jul 2009 02:35:43 +0000 (21:35 -0500)
committerFelix Blyakher <felixb@sgi.com>
Mon, 31 Aug 2009 19:46:21 +0000 (14:46 -0500)
CONFIG_XFS_DEBUG builds still need xfs_read_agf to be
non-static, oops.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Felix Blyakher <felixb@sgi.com>
Signed-off-by: Felix Blyakher <felixb@sgi.com>
fs/xfs/xfs_ag.h
fs/xfs/xfs_alloc.c

index af3cfeb18b0d609dca59d185d359fc23c0f4c32e..f24b50b68d03a6b3d89027bff545d19d3296f85e 100644 (file)
@@ -91,6 +91,9 @@ typedef struct xfs_agf {
 #define        XFS_AGF_BLOCK(mp)       XFS_HDR_BLOCK(mp, XFS_AGF_DADDR(mp))
 #define        XFS_BUF_TO_AGF(bp)      ((xfs_agf_t *)XFS_BUF_PTR(bp))
 
+extern int xfs_read_agf(struct xfs_mount *mp, struct xfs_trans *tp,
+                       xfs_agnumber_t agno, int flags, struct xfs_buf **bpp);
+
 /*
  * Size of the unlinked inode hash table in the agi.
  */
index 6316004922d71c880667c658f6d2b42ec02c46db..2cf944eb796daf4ca455865d3dd22c83ee6d13ee 100644 (file)
@@ -2248,7 +2248,7 @@ xfs_alloc_put_freelist(
 /*
  * Read in the allocation group header (free/alloc section).
  */
-STATIC int                             /* error */
+int                                    /* error */
 xfs_read_agf(
        struct xfs_mount        *mp,    /* mount point structure */
        struct xfs_trans        *tp,    /* transaction pointer */