From: Yan Zheng Date: Wed, 22 Jul 2009 13:59:00 +0000 (-0400) Subject: Btrfs: fix definition of struct btrfs_extent_inline_ref X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1bec1aed1e7e632b3cc43b6807c2b4dcd1572e28;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git Btrfs: fix definition of struct btrfs_extent_inline_ref use __le64 instead of u64 in on-disk structure definition. Signed-off-by: Yan Zheng Signed-off-by: Chris Mason --- diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index a404ecc53eb..da0763135bf 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -483,7 +483,7 @@ struct btrfs_shared_data_ref { struct btrfs_extent_inline_ref { u8 type; - u64 offset; + __le64 offset; } __attribute__ ((__packed__)); /* old style backrefs item */