aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_buf_item.h
diff options
context:
space:
mode:
authorDave Chinner <dgc@sgi.com>2013-04-03 01:11:15 -0400
committerBen Myers <bpm@sgi.com>2013-04-21 15:57:43 -0400
commit983d09ffe396ed5d5339a1b9ff994dd0b0f2069f (patch)
tree42779460b8910c6537bd4d53fa99f23eb5fde830 /fs/xfs/xfs_buf_item.h
parent77c95bba013089fa868217283eb6d98a05913e53 (diff)
xfs: add CRC checks to the AGI
Same set of changes made to the AGF need to be made to the AGI. This patch has a similar history to the AGF, hence a similar sign-off chain. Signed-off-by: Dave Chinner <dgc@sgi.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <dgc@redhat.com> Reviewed-by: Ben Myers <bpm@sgi.com> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_buf_item.h')
-rw-r--r--fs/xfs/xfs_buf_item.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/xfs/xfs_buf_item.h b/fs/xfs/xfs_buf_item.h
index 067d5f0fc233..c25660691e08 100644
--- a/fs/xfs/xfs_buf_item.h
+++ b/fs/xfs/xfs_buf_item.h
@@ -47,6 +47,7 @@ extern kmem_zone_t *xfs_buf_item_zone;
47#define XFS_BLF_BTREE_BUF (1<<5) 47#define XFS_BLF_BTREE_BUF (1<<5)
48#define XFS_BLF_AGF_BUF (1<<6) 48#define XFS_BLF_AGF_BUF (1<<6)
49#define XFS_BLF_AGFL_BUF (1<<7) 49#define XFS_BLF_AGFL_BUF (1<<7)
50#define XFS_BLF_AGI_BUF (1<<8)
50 51
51#define XFS_BLF_TYPE_MASK \ 52#define XFS_BLF_TYPE_MASK \
52 (XFS_BLF_UDQUOT_BUF | \ 53 (XFS_BLF_UDQUOT_BUF | \
@@ -54,7 +55,8 @@ extern kmem_zone_t *xfs_buf_item_zone;
54 XFS_BLF_GDQUOT_BUF | \ 55 XFS_BLF_GDQUOT_BUF | \
55 XFS_BLF_BTREE_BUF | \ 56 XFS_BLF_BTREE_BUF | \
56 XFS_BLF_AGF_BUF | \ 57 XFS_BLF_AGF_BUF | \
57 XFS_BLF_AGFL_BUF) 58 XFS_BLF_AGFL_BUF | \
59 XFS_BLF_AGI_BUF)
58 60
59#define XFS_BLF_CHUNK 128 61#define XFS_BLF_CHUNK 128
60#define XFS_BLF_SHIFT 7 62#define XFS_BLF_SHIFT 7