[PATCH 16/27] xfs: avoid usage of struct xfs_dir2_block
Christoph Hellwig
hch at infradead.org
Wed Jul 6 03:35:30 CDT 2011
On Wed, Jul 06, 2011 at 12:19:35PM +1000, Dave Chinner wrote:
> 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 number
> checks around the place?
We should, and I should have been more consistant about it. In fact
I probably should split it into a separate patch.
More information about the xfs
mailing list