Skip to content

Commit

Permalink
Btrfs: fix definition of struct btrfs_extent_inline_ref
Browse files Browse the repository at this point in the history
use __le64 instead of u64 in on-disk structure definition.

Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
  • Loading branch information
Yan Zheng authored and Chris Mason committed Jul 22, 2009
1 parent 68f5a38 commit 1bec1ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/btrfs/ctree.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 1bec1ae

Please sign in to comment.