aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs
diff options
context:
space:
mode:
authorJosef Bacik <josef@redhat.com>2011-07-14 14:28:08 -0400
committerJosef Bacik <josef@redhat.com>2011-10-19 15:12:28 -0400
commitf1bdcc0a8278aa42cb77331275890aac85a4e7cd (patch)
tree1a7685bba3f3a3a2d282ddb41dc4042980a90c53 /fs/btrfs
parent976d167615b64e14bc1491ca51d424e2ba9a5e84 (diff)
Btrfs: move stuff around in btrfs_inode to get better packing
Moving things around to give us better packing in the btrfs_inode. This reduces the size of our inode by 8 bytes. Thanks, Signed-off-by: Josef Bacik <josef@redhat.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r--fs/btrfs/btrfs_inode.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/btrfs/btrfs_inode.h b/fs/btrfs/btrfs_inode.h
index d9f99a16edd..bf325f40cf9 100644
--- a/fs/btrfs/btrfs_inode.h
+++ b/fs/btrfs/btrfs_inode.h
@@ -115,9 +115,6 @@ struct btrfs_inode {
115 */ 115 */
116 u64 disk_i_size; 116 u64 disk_i_size;
117 117
118 /* flags field from the on disk inode */
119 u32 flags;
120
121 /* 118 /*
122 * if this is a directory then index_cnt is the counter for the index 119 * if this is a directory then index_cnt is the counter for the index
123 * number for new files that are created 120 * number for new files that are created
@@ -131,6 +128,9 @@ struct btrfs_inode {
131 */ 128 */
132 u64 last_unlink_trans; 129 u64 last_unlink_trans;
133 130
131 /* flags field from the on disk inode */
132 u32 flags;
133
134 /* 134 /*
135 * Counters to keep track of the number of extent item's we may use due 135 * Counters to keep track of the number of extent item's we may use due
136 * to delalloc and such. outstanding_extents is the number of extent 136 * to delalloc and such. outstanding_extents is the number of extent