linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] btrfs-progs: fix definition of struct btrfs_extent_inline_ref
@ 2013-08-05 21:46 Eric Sandeen
  0 siblings, 0 replies; only message in thread
From: Eric Sandeen @ 2013-08-05 21:46 UTC (permalink / raw)
  To: linux-btrfs

Port kernel commit 1bec1aed to userspace.

use __le64 instead of u64 in on-disk structure definition.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
---

diff --git a/ctree.h b/ctree.h
index 4f602d4..257396d 100644
--- a/ctree.h
+++ b/ctree.h
@@ -593,7 +593,7 @@ struct btrfs_shared_data_ref {
 
 struct btrfs_extent_inline_ref {
 	u8 type;
-	u64 offset;
+	__le64 offset;
 } __attribute__ ((__packed__));
 
 struct btrfs_extent_ref_v0 {


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-08-05 21:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-05 21:46 [PATCH] btrfs-progs: fix definition of struct btrfs_extent_inline_ref Eric Sandeen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).