]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
Btrfs: Fix sparse endian warnings in struct-funcs.c
authorChris Mason <chris.mason@oracle.com>
Tue, 2 Dec 2008 16:18:37 +0000 (11:18 -0500)
committerChris Mason <chris.mason@oracle.com>
Tue, 2 Dec 2008 16:18:37 +0000 (11:18 -0500)
commitc99e905c945c462085c6d64646dc5af0c0a16815
tree3aed8630c0778c4a8b26a5d8eb2fba42fbb5e26c
parent2a7108ad89e1ea9a30afbbece8b581a0532afd12
Btrfs: Fix sparse endian warnings in struct-funcs.c

The btrfs macros to access individual struct members on disk were
sending the same variable to functions that expected different types
of endianness.  This fix explicitly creates a variable of the correct
type instead of abusing a single variable for mixed purposes.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/struct-funcs.c