diff options
author | Dave Chinner <dchinner@redhat.com> | 2016-02-09 08:54:58 +0300 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-02-09 08:54:58 +0300 |
commit | 54d7b5c1d03e9711cce2d72237d5b3f5c87431f4 (patch) | |
tree | 217051439807a7bc0fba823d0319c7a5900cc2c3 /fs/xfs/libxfs/xfs_inode_buf.h | |
parent | 50997470ef95fd8ae0ef6acab3b2e1d886ae2445 (diff) | |
download | linux-54d7b5c1d03e9711cce2d72237d5b3f5c87431f4.tar.xz |
xfs: use vfs inode nlink field everywhere
The VFS tracks the inode nlink just like the xfs_icdinode. We can
remove the variable from the icdinode and use the VFS inode variable
everywhere, reducing the size of the xfs_icdinode by a further 4
bytes.
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/libxfs/xfs_inode_buf.h')
-rw-r--r-- | fs/xfs/libxfs/xfs_inode_buf.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_inode_buf.h b/fs/xfs/libxfs/xfs_inode_buf.h index 73ba1d8ffac2..320b72344270 100644 --- a/fs/xfs/libxfs/xfs_inode_buf.h +++ b/fs/xfs/libxfs/xfs_inode_buf.h @@ -34,7 +34,6 @@ struct xfs_icdinode { __uint16_t di_flushiter; /* incremented on flush */ __uint32_t di_uid; /* owner's user id */ __uint32_t di_gid; /* owner's group id */ - __uint32_t di_nlink; /* number of links to file */ __uint16_t di_projid_lo; /* lower part of owner's project id */ __uint16_t di_projid_hi; /* higher part of owner's project id */ xfs_fsize_t di_size; /* number of bytes in file */ |