Btrfs: unaligned access fixes

Btrfs set/get macros lose type information needed to avoid
unaligned accesses on sparc64.
ere is a patch for the kernel bits which fixes most of the
unaligned accesses on sparc64.

btrfs_name_hash is modified to return the hash value instead
of getting a return location via a (potentially unaligned)
pointer.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
David Miller 2008-02-15 10:40:52 -05:00 • committed by Chris Mason
commit df68b8a7ad
5 changed files with 33 additions and 45 deletions