xfs: avoid usage of struct xfs_dir2_block
authorChristoph Hellwig <hch@lst.de>
Fri, 8 Jul 2011 12:35:27 +0000 (14:35 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 8 Jul 2011 12:35:27 +0000 (14:35 +0200)
commit4f6ae1a49ed5c81501d6f7385416bb4e07289e99
treef9e302754cff53ad96eaca3b0b4de1fd91a9beb2
parent78f70cd7b7e8fd44dc89af4f72fb110d865338a1
xfs: avoid usage of struct xfs_dir2_block

In most places we can simply pass around and use the struct xfs_dir2_data_hdr,
which is the first and most important member of struct xfs_dir2_block instead
of the full structure.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/xfs_dir2_block.c
fs/xfs/xfs_dir2_block.h
fs/xfs/xfs_dir2_data.c
fs/xfs/xfs_dir2_leaf.c
fs/xfs/xfs_dir2_sf.c
fs/xfs/xfs_dir2_sf.h