aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorYan Zheng <zheng.yan@oracle.com>2009-07-22 09:59:00 -0400
committerChris Mason <chris.mason@oracle.com>2009-07-22 09:59:00 -0400
commit1bec1aed1e7e632b3cc43b6807c2b4dcd1572e28 (patch)
tree82ae1710227adaf27d915e40508aaf4bb62a7422 /fs
parent68f5a38c3ea4ae9cc7a40f86ff6d6d031583d93a (diff)
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>
Diffstat (limited to 'fs')
-rw-r--r--fs/btrfs/ctree.h2
1 files changed, 1 insertions, 1 deletions
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 {
483 483
484struct btrfs_extent_inline_ref { 484struct btrfs_extent_inline_ref {
485 u8 type; 485 u8 type;
486 u64 offset; 486 __le64 offset;
487} __attribute__ ((__packed__)); 487} __attribute__ ((__packed__));
488 488
489/* old style backrefs item */ 489/* old style backrefs item */