[PATCH] BTRFS: Transpose parent_objectid and parent_gen in structbtrfs_fid
From: David Howells
Date: Wed Mar 18 2009 - 12:17:23 EST
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@xxxxxxxxxx>
---
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/