aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_export.c
diff options
context:
space:
mode:
authorDave Chinner <[email protected]>2016-03-06 22:30:32 +0000
committerDave Chinner <[email protected]>2016-03-06 22:30:32 +0000
commita2bbcb60ff9a8e8a4159e11bc3ed84f7221fe79f (patch)
tree892f8d40b2267422d2d38a62acace8ed613f71a8 /fs/xfs/xfs_export.c
parentMerge branch 'xfs-misc-fixes-4.6' into for-next (diff)
parentxfs: mode di_mode to vfs inode (diff)
downloadkernel-a2bbcb60ff9a8e8a4159e11bc3ed84f7221fe79f.tar.gz
kernel-a2bbcb60ff9a8e8a4159e11bc3ed84f7221fe79f.zip
Merge branch 'xfs-gut-icdinode-4.6' into for-next
Diffstat (limited to 'fs/xfs/xfs_export.c')
-rw-r--r--fs/xfs/xfs_export.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_export.c b/fs/xfs/xfs_export.c
index 652cd3c5b58c..2816d42507bc 100644
--- a/fs/xfs/xfs_export.c
+++ b/fs/xfs/xfs_export.c
@@ -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);
}