[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090318161626.16521.91662.stgit@warthog.procyon.org.uk>
Date: Wed, 18 Mar 2009 16:16:26 +0000
From: David Howells <dhowells@...hat.com>
To: balajirrao@...il.com, dwmw2@...radead.org, chris.mason@...cle.com
Cc: dhowells@...hat.com, linux-kernel@...r.kernel.org
Subject: [PATCH] BTRFS: Transpose parent_objectid and parent_gen in struct
btrfs_fid
Transpose parent_objectid and parent_gen in struct btrfs_fid so that gen and
parent_gen (both u32) are adjacent, thus packing nicely between the u64
members.
This would seem to be reasonable as the parent generation number is always
used if the parent objectid is.
Signed-off-by: David Howells <dhowells@...hat.com>
---
fs/btrfs/export.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/btrfs/export.h b/fs/btrfs/export.h
index 074348a..319cc6e 100644
--- a/fs/btrfs/export.h
+++ b/fs/btrfs/export.h
@@ -10,8 +10,8 @@ struct btrfs_fid {
u64 root_objectid;
u32 gen;
- u64 parent_objectid;
u32 parent_gen;
+ u64 parent_objectid;
u64 parent_root_objectid;
} __attribute__ ((packed));
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists