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: Chri
.... Took me a moment to realise what this does - turns the byte swap into a compile-time operation rather than a runtime operation. Nice. Perhaps we should do that same optimisation in other magic n