svn commit: r244344 - stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

Xin LI delphij at FreeBSD.org
Mon Dec 17 06:43:09 UTC 2012


Author: delphij
Date: Mon Dec 17 06:43:08 2012
New Revision: 244344
URL: http://svnweb.freebsd.org/changeset/base/244344

Log:
  MFC r243807:
  
  Use SA_ZPL_CRTIME instead of SA_ZPL_CTIME for creation time.
  
  Submitted by:	phil.stone at gmx.com

Modified:
  stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/cddl/contrib/opensolaris/   (props changed)

Modified: stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c
==============================================================================
--- stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c	Mon Dec 17 06:38:22 2012	(r244343)
+++ stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c	Mon Dec 17 06:43:08 2012	(r244344)
@@ -2682,7 +2682,7 @@ zfs_getattr(vnode_t *vp, vattr_t *vap, i
 
 	SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_MTIME(zfsvfs), NULL, &mtime, 16);
 	SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_CTIME(zfsvfs), NULL, &ctime, 16);
-	SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_CTIME(zfsvfs), NULL, &crtime, 16);
+	SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_CRTIME(zfsvfs), NULL, &crtime, 16);
 	if (vp->v_type == VBLK || vp->v_type == VCHR)
 		SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_RDEV(zfsvfs), NULL,
 		    &rdev, 8);


More information about the svn-src-stable-9 mailing list