diff options
author | Dave Chinner <dchinner@redhat.com> | 2016-02-09 06:54:58 +0100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-02-09 06:54:58 +0100 |
commit | 9e9a2674e43353f650ecd19a54eba028eafff82e (patch) | |
tree | be357bc6b47f404c41acfc0d0e895622e0d89a2a /fs/xfs/xfs_inode_item.c | |
parent | xfs: use vfs inode nlink field everywhere (diff) | |
download | linux-9e9a2674e43353f650ecd19a54eba028eafff82e.tar.xz linux-9e9a2674e43353f650ecd19a54eba028eafff82e.zip |
xfs: move inode generation count to VFS inode
Pull another 4 bytes out of the xfs_icdinode.
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 193e0bdec340..6367780b8abb 100644 --- a/fs/xfs/xfs_inode_item.c +++ b/fs/xfs/xfs_inode_item.c @@ -350,6 +350,7 @@ xfs_inode_to_log_dinode( to->di_ctime.t_sec = inode->i_ctime.tv_sec; to->di_ctime.t_nsec = inode->i_ctime.tv_nsec; to->di_nlink = inode->i_nlink; + to->di_gen = inode->i_generation; to->di_size = from->di_size; to->di_nblocks = from->di_nblocks; @@ -361,7 +362,6 @@ xfs_inode_to_log_dinode( to->di_dmevmask = from->di_dmevmask; to->di_dmstate = from->di_dmstate; to->di_flags = from->di_flags; - to->di_gen = from->di_gen; if (from->di_version == 3) { to->di_changecount = from->di_changecount; |