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-Tag: firefly_0821_release~13200^2~28 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1bec1aed1e7e632b3cc43b6807c2b4dcd1572e28;p=firefly-linux-kernel-4.4.55.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 a404ecc53eb1..da0763135bf0 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 */