diff options
author | Brian Behlendorf <[email protected]> | 2016-05-12 13:31:55 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-05-12 13:36:22 -0700 |
commit | c15706490e5d018542ab4bef1a5ab83122a4b351 (patch) | |
tree | e2f489c01230583881cdab63d85c87cddf386f61 /module/zfs/zfs_vnops.c | |
parent | 193a37cb2430960ce759daf12ce5cc804818aba1 (diff) |
Revert "Kill znode->z_gen field"
This reverts commit 4cd77889b684fd0dd1a0a995b692dda3db76a9ac. The
i_generation field in the inode is 32-bit and the SA code expects
64-bit fixed values. Revert this optimization for now until
this is cleanly addressed.
Signed-off-by: Brian Behlendorf <[email protected]>
Issue #4538
Diffstat (limited to 'module/zfs/zfs_vnops.c')
-rw-r--r-- | module/zfs/zfs_vnops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/zfs_vnops.c b/module/zfs/zfs_vnops.c index 8af739041..7a8cef017 100644 --- a/module/zfs/zfs_vnops.c +++ b/module/zfs/zfs_vnops.c @@ -2393,7 +2393,7 @@ zfs_getattr(struct inode *ip, vattr_t *vap, int flags, cred_t *cr) XVA_SET_RTN(xvap, XAT_REPARSE); } if (XVA_ISSET_REQ(xvap, XAT_GEN)) { - xoap->xoa_generation = ip->i_generation; + xoap->xoa_generation = zp->z_gen; XVA_SET_RTN(xvap, XAT_GEN); } |