]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
Btrfs: move stuff around in btrfs_inode to get better packing
authorJosef Bacik <josef@redhat.com>
Thu, 14 Jul 2011 18:28:08 +0000 (14:28 -0400)
committerChris Mason <chris.mason@oracle.com>
Wed, 16 Nov 2011 01:56:06 +0000 (20:56 -0500)
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>
(cherry picked from commit f1bdcc0a8278aa42cb77331275890aac85a4e7cd)

fs/btrfs/btrfs_inode.h

index d9f99a16edd6d85a9eb5fbe892f195f0ca00eeb3..bf325f40cf9221e7129f70ff45736cd9df9eb5d1 100644 (file)
@@ -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
@@ -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