diff options
| author | Dave Chinner <[email protected]> | 2016-02-09 05:54:58 +0000 |
|---|---|---|
| committer | Dave Chinner <[email protected]> | 2016-02-09 05:54:58 +0000 |
| commit | 83e06f21b439b7b308eda06332a4feef35739e94 (patch) | |
| tree | e2ba8f074eaee3e1392533b3af086f7e36d8dea9 /fs/xfs/xfs_inode.c | |
| parent | xfs: move inode generation count to VFS inode (diff) | |
| download | kernel-83e06f21b439b7b308eda06332a4feef35739e94.tar.gz kernel-83e06f21b439b7b308eda06332a4feef35739e94.zip | |
xfs: move di_changecount to VFS inode
We can store the di_changecount in the i_version field of the VFS
inode and remove another 8 bytes from the xfs_icdinode.
Signed-off-by: Dave Chinner <[email protected]>
Reviewed-by: Brian Foster <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_inode.c')
| -rw-r--r-- | fs/xfs/xfs_inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index dfc5b18c8cc2..8a970056a2c4 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c @@ -841,7 +841,7 @@ xfs_ialloc( ip->i_d.di_flags = 0; if (ip->i_d.di_version == 3) { - ip->i_d.di_changecount = 1; + inode->i_version = 1; ip->i_d.di_flags2 = 0; ip->i_d.di_crtime.t_sec = (__int32_t)tv.tv_sec; ip->i_d.di_crtime.t_nsec = (__int32_t)tv.tv_nsec; |
