diff options
Diffstat (limited to 'fs/xfs/xfs_ag.h')
-rw-r--r-- | fs/xfs/xfs_ag.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/xfs/xfs_ag.h b/fs/xfs/xfs_ag.h index 44d65c1533c0..f2aeedb6a579 100644 --- a/fs/xfs/xfs_ag.h +++ b/fs/xfs/xfs_ag.h | |||
@@ -108,6 +108,8 @@ typedef struct xfs_agf { | |||
108 | extern int xfs_read_agf(struct xfs_mount *mp, struct xfs_trans *tp, | 108 | extern int xfs_read_agf(struct xfs_mount *mp, struct xfs_trans *tp, |
109 | xfs_agnumber_t agno, int flags, struct xfs_buf **bpp); | 109 | xfs_agnumber_t agno, int flags, struct xfs_buf **bpp); |
110 | 110 | ||
111 | extern const struct xfs_buf_ops xfs_agf_buf_ops; | ||
112 | |||
111 | /* | 113 | /* |
112 | * Size of the unlinked inode hash table in the agi. | 114 | * Size of the unlinked inode hash table in the agi. |
113 | */ | 115 | */ |
@@ -161,6 +163,8 @@ typedef struct xfs_agi { | |||
161 | extern int xfs_read_agi(struct xfs_mount *mp, struct xfs_trans *tp, | 163 | extern int xfs_read_agi(struct xfs_mount *mp, struct xfs_trans *tp, |
162 | xfs_agnumber_t agno, struct xfs_buf **bpp); | 164 | xfs_agnumber_t agno, struct xfs_buf **bpp); |
163 | 165 | ||
166 | extern const struct xfs_buf_ops xfs_agi_buf_ops; | ||
167 | |||
164 | /* | 168 | /* |
165 | * The third a.g. block contains the a.g. freelist, an array | 169 | * The third a.g. block contains the a.g. freelist, an array |
166 | * of block pointers to blocks owned by the allocation btree code. | 170 | * of block pointers to blocks owned by the allocation btree code. |
@@ -233,6 +237,7 @@ typedef struct xfs_perag { | |||
233 | #define XFS_ICI_NO_TAG (-1) /* special flag for an untagged lookup | 237 | #define XFS_ICI_NO_TAG (-1) /* special flag for an untagged lookup |
234 | in xfs_inode_ag_iterator */ | 238 | in xfs_inode_ag_iterator */ |
235 | #define XFS_ICI_RECLAIM_TAG 0 /* inode is to be reclaimed */ | 239 | #define XFS_ICI_RECLAIM_TAG 0 /* inode is to be reclaimed */ |
240 | #define XFS_ICI_EOFBLOCKS_TAG 1 /* inode has blocks beyond EOF */ | ||
236 | 241 | ||
237 | #define XFS_AG_MAXLEVELS(mp) ((mp)->m_ag_maxlevels) | 242 | #define XFS_AG_MAXLEVELS(mp) ((mp)->m_ag_maxlevels) |
238 | #define XFS_MIN_FREELIST_RAW(bl,cl,mp) \ | 243 | #define XFS_MIN_FREELIST_RAW(bl,cl,mp) \ |