diff options
author | Dave Chinner <dchinner@redhat.com> | 2014-06-06 01:21:45 -0400 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-06-06 01:21:45 -0400 |
commit | c2c4c477e0d02b0b352a71a25be56c9d35537265 (patch) | |
tree | c014163d3f5a2f851dd72f1c51dfe22db96eb936 /fs/xfs/xfs_da_format.h | |
parent | c59f0ad23af0f4d7f64d2c2cdd85ceb49f6337fa (diff) |
xfs: replace attr LBSIZE with xfs_da_geometry
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_da_format.h')
-rw-r--r-- | fs/xfs/xfs_da_format.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/fs/xfs/xfs_da_format.h b/fs/xfs/xfs_da_format.h index 44d7fac4ca64..0a49b0286372 100644 --- a/fs/xfs/xfs_da_format.h +++ b/fs/xfs/xfs_da_format.h | |||
@@ -19,10 +19,6 @@ | |||
19 | #ifndef __XFS_DA_FORMAT_H__ | 19 | #ifndef __XFS_DA_FORMAT_H__ |
20 | #define __XFS_DA_FORMAT_H__ | 20 | #define __XFS_DA_FORMAT_H__ |
21 | 21 | ||
22 | /*======================================================================== | ||
23 | * Directory Structure when greater than XFS_LBSIZE(mp) bytes. | ||
24 | *========================================================================*/ | ||
25 | |||
26 | /* | 22 | /* |
27 | * This structure is common to both leaf nodes and non-leaf nodes in the Btree. | 23 | * This structure is common to both leaf nodes and non-leaf nodes in the Btree. |
28 | * | 24 | * |
@@ -122,8 +118,6 @@ struct xfs_da3_icnode_hdr { | |||
122 | __uint16_t level; | 118 | __uint16_t level; |
123 | }; | 119 | }; |
124 | 120 | ||
125 | #define XFS_LBSIZE(mp) (mp)->m_sb.sb_blocksize | ||
126 | |||
127 | /* | 121 | /* |
128 | * Directory version 2. | 122 | * Directory version 2. |
129 | * | 123 | * |
@@ -620,10 +614,6 @@ xfs_dir2_block_leaf_p(struct xfs_dir2_block_tail *btp) | |||
620 | * of an attribute name may not be unique, we may have duplicate keys. The | 614 | * of an attribute name may not be unique, we may have duplicate keys. The |
621 | * internal links in the Btree are logical block offsets into the file. | 615 | * internal links in the Btree are logical block offsets into the file. |
622 | * | 616 | * |
623 | *======================================================================== | ||
624 | * Attribute structure when equal to XFS_LBSIZE(mp) bytes. | ||
625 | *======================================================================== | ||
626 | * | ||
627 | * Struct leaf_entry's are packed from the top. Name/values grow from the | 617 | * Struct leaf_entry's are packed from the top. Name/values grow from the |
628 | * bottom but are not packed. The freemap contains run-length-encoded entries | 618 | * bottom but are not packed. The freemap contains run-length-encoded entries |
629 | * for the free bytes after the leaf_entry's, but only the N largest such, | 619 | * for the free bytes after the leaf_entry's, but only the N largest such, |