diff options
author | Yan Zheng <zheng.yan@oracle.com> | 2009-07-22 15:59:00 +0200 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-07-22 15:59:00 +0200 |
commit | 1bec1aed1e7e632b3cc43b6807c2b4dcd1572e28 (patch) | |
tree | 82ae1710227adaf27d915e40508aaf4bb62a7422 /fs/btrfs/ctree.h | |
parent | Btrfs: fix error message formatting (diff) | |
download | linux-1bec1aed1e7e632b3cc43b6807c2b4dcd1572e28.tar.xz linux-1bec1aed1e7e632b3cc43b6807c2b4dcd1572e28.zip |
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/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 2 |
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 { struct btrfs_extent_inline_ref { u8 type; - u64 offset; + __le64 offset; } __attribute__ ((__packed__)); /* old style backrefs item */ |