diff options
author | Christoph Hellwig <hch@lst.de> | 2011-07-08 12:35:32 (GMT) |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2011-07-08 12:35:32 (GMT) |
commit | a64b04179735de6bfd9f00c130a68ed7f20d18ef (patch) | |
tree | 36fe9aec30550aed6aecf6c2734fa365d1e7c83f /fs/xfs/xfs_da_btree.c | |
parent | 4f6ae1a49ed5c81501d6f7385416bb4e07289e99 (diff) | |
download | linux-fsl-qoriq-a64b04179735de6bfd9f00c130a68ed7f20d18ef.tar.xz |
xfs: kill struct xfs_dir2_block
Remove the confusing xfs_dir2_block structure. It is supposed to describe
an XFS dir2 block format btree block, but due to the variable sized nature
of almost all elements in it it can't actuall do anything close to that
job. In addition to accessing the fixed offset header structure it was
only used to get a pointer to the first dir or unused entry after it,
which can be trivially replaced by pointer arithmetics on the header
pointer. For most users that is actually more natural anyway, as they
don't use a typed pointer but rather a character pointer for further
arithmetics.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_da_btree.c')
0 files changed, 0 insertions, 0 deletions