Skip to content

Commit

Permalink
Btrfs: move stuff around in btrfs_inode to get better packing
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Josef Bacik committed Oct 19, 2011
1 parent 976d167 commit f1bdcc0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fs/btrfs/btrfs_inode.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,6 @@ struct btrfs_inode {
*/
u64 disk_i_size;

/* flags field from the on disk inode */
u32 flags;

/*
* if this is a directory then index_cnt is the counter for the index
* number for new files that are created
Expand All @@ -131,6 +128,9 @@ struct btrfs_inode {
*/
u64 last_unlink_trans;

/* flags field from the on disk inode */
u32 flags;

/*
* Counters to keep track of the number of extent item's we may use due
* to delalloc and such. outstanding_extents is the number of extent
Expand Down

0 comments on commit f1bdcc0

Please sign in to comment.