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>
This commit is contained in:
Dave Chinner
2016-02-09 16:54:58 +11:00
committed by Dave Chinner
parent 54d7b5c1d0
commit 9e9a2674e4
9 changed files with 11 additions and 14 deletions

View File

@@ -152,7 +152,7 @@ xfs_nfs_get_inode(
return ERR_PTR(error);
}
if (ip->i_d.di_gen != generation) {
if (VFS_I(ip)->i_generation != generation) {
IRELE(ip);
return ERR_PTR(-ESTALE);
}