* [PATCH] fix definition of struct btrfs_extent_inline_ref
@ 2009-07-15 7:33 Yan Zheng
0 siblings, 0 replies; only message in thread
From: Yan Zheng @ 2009-07-15 7:33 UTC (permalink / raw)
To: Chris Mason, linux-btrfs
use __le64 instead of u64 in on-disk structure definition.
Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
---
diff -urp 1/fs/btrfs/ctree.h 2/fs/btrfs/ctree.h
--- 1/fs/btrfs/ctree.h 2009-07-03 08:08:34.148847040 +0800
+++ 2/fs/btrfs/ctree.h 2009-07-15 14:59:31.779493061 +0800
@@ -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 */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-07-15 7:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-15 7:33 [PATCH] fix definition of struct btrfs_extent_inline_ref Yan Zheng
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.