xfs: avoid usage of struct xfs_dir2_data
authorChristoph Hellwig <hch@lst.de>
Fri, 8 Jul 2011 12:35:38 +0000 (14:35 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 8 Jul 2011 12:35:38 +0000 (14:35 +0200)
commitc2066e2662070e794f57a96a129c42575e77cfcb
treec1261009d7482af80db1b554a96b5a62f35b4877
parenta64b04179735de6bfd9f00c130a68ed7f20d18ef
xfs: avoid usage of struct xfs_dir2_data

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_data 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_da_btree.c
fs/xfs/xfs_dir2_block.c
fs/xfs/xfs_dir2_data.c
fs/xfs/xfs_dir2_data.h
fs/xfs/xfs_dir2_leaf.c
fs/xfs/xfs_dir2_node.c