diff options
author | Dave Chinner <dchinner@redhat.com> | 2016-02-09 05:54:58 (GMT) |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-02-09 05:54:58 (GMT) |
commit | c19b3b05ae440de50fffe2ac2a9b27392a7448e9 (patch) | |
tree | c18e6272503b92cf5397aa25cfe19542c2b45149 /fs/xfs/xfs_inode_item.c | |
parent | 83e06f21b439b7b308eda06332a4feef35739e94 (diff) | |
download | linux-c19b3b05ae440de50fffe2ac2a9b27392a7448e9.tar.xz |
xfs: mode di_mode to vfs inode
Move the di_mode value from the xfs_icdinode to the VFS inode, reducing
the xfs_icdinode byte another 2 bytes and collapsing another 2 byte hole
in the structure.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_inode_item.c')
-rw-r--r-- | fs/xfs/xfs_inode_item.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_inode_item.c b/fs/xfs/xfs_inode_item.c index 3415c63..c48b5b1 100644 --- a/fs/xfs/xfs_inode_item.c +++ b/fs/xfs/xfs_inode_item.c @@ -333,7 +333,6 @@ xfs_inode_to_log_dinode( to->di_magic = XFS_DINODE_MAGIC; - to->di_mode = from->di_mode; to->di_version = from->di_version; to->di_format = from->di_format; to->di_uid = from->di_uid; @@ -351,6 +350,7 @@ xfs_inode_to_log_dinode( to->di_ctime.t_nsec = inode->i_ctime.tv_nsec; to->di_nlink = inode->i_nlink; to->di_gen = inode->i_generation; + to->di_mode = inode->i_mode; to->di_size = from->di_size; to->di_nblocks = from->di_nblocks; |