• David Miller's avatar
    Btrfs: unaligned access fixes · df68b8a7
    David Miller authored
    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: default avatarChris Mason <chris.mason@oracle.com>
    df68b8a7
struct-funcs.c 3.71 KB