diff options
author | Dave Chinner <dchinner@redhat.com> | 2010-05-06 21:05:19 -0400 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-05-24 11:33:39 -0400 |
commit | c11554104f4dcb509fd43973389b097a04b9d51d (patch) | |
tree | 18b67546aa2baacaa729ae51ad656465bdc2654f /fs/xfs/linux-2.6/xfs_super.c | |
parent | 64fc35de60da3b1fe970168d10914bf1cf34a3e3 (diff) |
xfs: Clean up XFS_BLI_* flag namespace
Clean up the buffer log format (XFS_BLI_*) flags because they have a
polluted namespace. They XFS_BLI_ prefix is used for both in-memory
and on-disk flag feilds, but have overlapping values for different
flags. Rename the buffer log format flags to use the XFS_BLF_*
prefix to avoid confusing them with the in-memory XFS_BLI_* prefixed
flags.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_super.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_super.c b/fs/xfs/linux-2.6/xfs_super.c index e9002513e08f..a8ea03afe2e3 100644 --- a/fs/xfs/linux-2.6/xfs_super.c +++ b/fs/xfs/linux-2.6/xfs_super.c | |||
@@ -1754,7 +1754,7 @@ xfs_init_zones(void) | |||
1754 | * but it is much faster. | 1754 | * but it is much faster. |
1755 | */ | 1755 | */ |
1756 | xfs_buf_item_zone = kmem_zone_init((sizeof(xfs_buf_log_item_t) + | 1756 | xfs_buf_item_zone = kmem_zone_init((sizeof(xfs_buf_log_item_t) + |
1757 | (((XFS_MAX_BLOCKSIZE / XFS_BLI_CHUNK) / | 1757 | (((XFS_MAX_BLOCKSIZE / XFS_BLF_CHUNK) / |
1758 | NBWORD) * sizeof(int))), "xfs_buf_item"); | 1758 | NBWORD) * sizeof(int))), "xfs_buf_item"); |
1759 | if (!xfs_buf_item_zone) | 1759 | if (!xfs_buf_item_zone) |
1760 | goto out_destroy_trans_zone; | 1760 | goto out_destroy_trans_zone; |