Commit 1bec1aed authored by Yan Zheng's avatar Yan Zheng Committed by Chris Mason

Btrfs: fix definition of struct btrfs_extent_inline_ref

use __le64 instead of u64 in on-disk structure definition.
Signed-off-by: default avatarYan Zheng <zheng.yan@oracle.com>
Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 68f5a38c
...@@ -483,7 +483,7 @@ struct btrfs_shared_data_ref { ...@@ -483,7 +483,7 @@ struct btrfs_shared_data_ref {
struct btrfs_extent_inline_ref { struct btrfs_extent_inline_ref {
u8 type; u8 type;
u64 offset; __le64 offset;
} __attribute__ ((__packed__)); } __attribute__ ((__packed__));
/* old style backrefs item */ /* old style backrefs item */
......
Markdown is supported
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