Преглед изворни кода

Btrfs: fix definition of struct btrfs_extent_inline_ref

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>
Yan Zheng пре 16 година
родитељ
комит
1bec1aed1e
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      fs/btrfs/ctree.h

+ 1 - 1
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 */