summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/fs/zfs/zfs_znode.c
diff options
context:
space:
mode:
authorDai Ngo <dai.ngo@sun.com>2009-10-14 11:15:07 -0500
committerDai Ngo <dai.ngo@sun.com>2009-10-14 11:15:07 -0500
commit7a286c471efbab8562f7655a82931904703fffe0 (patch)
treebbd1ea3af4176ce7e295afaa9eb7cb86b95010c0 /usr/src/uts/common/fs/zfs/zfs_znode.c
parent635216b673cf196ac523ff2a7ab715717e553292 (diff)
downloadillumos-gate-7a286c471efbab8562f7655a82931904703fffe0.tar.gz
6886081 Solaris needs reparse point support (PSARC 2009/387)
PSARC 2009/387 Pathname Reparse Points
Diffstat (limited to 'usr/src/uts/common/fs/zfs/zfs_znode.c')
-rw-r--r--usr/src/uts/common/fs/zfs/zfs_znode.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/uts/common/fs/zfs/zfs_znode.c b/usr/src/uts/common/fs/zfs/zfs_znode.c
index 62156fb4f6..c861bd9936 100644
--- a/usr/src/uts/common/fs/zfs/zfs_znode.c
+++ b/usr/src/uts/common/fs/zfs/zfs_znode.c
@@ -909,6 +909,10 @@ zfs_xvattr_set(znode_t *zp, xvattr_t *xvap)
zp->z_phys->zp_flags |= ZFS_BONUS_SCANSTAMP;
XVA_SET_RTN(xvap, XAT_AV_SCANSTAMP);
}
+ if (XVA_ISSET_REQ(xvap, XAT_REPARSE)) {
+ ZFS_ATTR_SET(zp, ZFS_REPARSE, xoap->xoa_reparse);
+ XVA_SET_RTN(xvap, XAT_REPARSE);
+ }
}
int