diff options
author | Eric Sandeen <sandeen@sandeen.net> | 2009-07-02 22:35:43 -0400 |
---|---|---|
committer | Felix Blyakher <felixb@sgi.com> | 2009-08-31 15:46:21 -0400 |
commit | fef1111ecdd2b5198afe91537a5cd4c6be80a255 (patch) | |
tree | f281731b0f731478d4f62384ab6f3121b8b7a5d7 /fs | |
parent | d96f8f891f69ac1dc8c7bd82e27525de220c04e1 (diff) |
un-static xfs_read_agf
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/xfs/xfs_ag.h | 3 | ||||
-rw-r--r-- | fs/xfs/xfs_alloc.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/fs/xfs/xfs_ag.h b/fs/xfs/xfs_ag.h index af3cfeb18b0d..f24b50b68d03 100644 --- a/fs/xfs/xfs_ag.h +++ b/fs/xfs/xfs_ag.h | |||
@@ -91,6 +91,9 @@ typedef struct xfs_agf { | |||
91 | #define XFS_AGF_BLOCK(mp) XFS_HDR_BLOCK(mp, XFS_AGF_DADDR(mp)) | 91 | #define XFS_AGF_BLOCK(mp) XFS_HDR_BLOCK(mp, XFS_AGF_DADDR(mp)) |
92 | #define XFS_BUF_TO_AGF(bp) ((xfs_agf_t *)XFS_BUF_PTR(bp)) | 92 | #define XFS_BUF_TO_AGF(bp) ((xfs_agf_t *)XFS_BUF_PTR(bp)) |
93 | 93 | ||
94 | extern int xfs_read_agf(struct xfs_mount *mp, struct xfs_trans *tp, | ||
95 | xfs_agnumber_t agno, int flags, struct xfs_buf **bpp); | ||
96 | |||
94 | /* | 97 | /* |
95 | * Size of the unlinked inode hash table in the agi. | 98 | * Size of the unlinked inode hash table in the agi. |
96 | */ | 99 | */ |
diff --git a/fs/xfs/xfs_alloc.c b/fs/xfs/xfs_alloc.c index 6316004922d7..2cf944eb796d 100644 --- a/fs/xfs/xfs_alloc.c +++ b/fs/xfs/xfs_alloc.c | |||
@@ -2248,7 +2248,7 @@ xfs_alloc_put_freelist( | |||
2248 | /* | 2248 | /* |
2249 | * Read in the allocation group header (free/alloc section). | 2249 | * Read in the allocation group header (free/alloc section). |
2250 | */ | 2250 | */ |
2251 | STATIC int /* error */ | 2251 | int /* error */ |
2252 | xfs_read_agf( | 2252 | xfs_read_agf( |
2253 | struct xfs_mount *mp, /* mount point structure */ | 2253 | struct xfs_mount *mp, /* mount point structure */ |
2254 | struct xfs_trans *tp, /* transaction pointer */ | 2254 | struct xfs_trans *tp, /* transaction pointer */ |