Skip to content
Commit c99e905c authored by Chris Mason's avatar Chris Mason
Browse files

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: default avatarChris Mason <chris.mason@oracle.com>
parent 2a7108ad
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment