[XFS] add generic btree types
authorChristoph Hellwig <hch@infradead.org>
Thu, 30 Oct 2008 05:54:12 +0000 (16:54 +1100)
committerLachlan McIlroy <lachlan@sgi.com>
Thu, 30 Oct 2008 05:54:12 +0000 (16:54 +1100)
commitde227dd9604934d2a6d33cd332d1be431719c93e
tree36254901d67015aa2f2621bea47f8082c31c8e55
parent561f7d17390d00444e6cd0b02b7516c91528082e
[XFS] add generic btree types

Add generic union types for btree pointers, keys and records. The generic
btree pointer contains either a 32 and 64bit big endian scalar for short
and long form btrees, and the key and record contain the relevant type for
each possible btree.

Split out from a bigger patch from Dave Chinner and simplified a little
further.

SGI-PV: 985583

SGI-Modid: xfs-linux-melb:xfs-kern:32178a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Bill O'Donnell <billodo@sgi.com>
Signed-off-by: David Chinner <david@fromorbit.com>
fs/xfs/xfs_btree.h