ahrens commented on this pull request.


        /*
         * All forms of zfs create (create, mkdir, mkxattrdir, symlink)
         * eventually end up in zfs_mknode(), which assigns the object's
-        * creation time and generation number.  The generic VOP_CREATE()
-        * doesn't have either concept, so we smuggle the values inside
-        * the vattr's otherwise unused va_ctime and va_nblocks fields.
+        * creation time, generation number, and dnode slot count. The
+        * generic VOP_CREATE() has no concept of these attributes, so
+        * we smuggle the values inside * the vattr's otherwise unused
+        * va_ctime, va_nblocks, and va_nlink fields.

Yes, it should say `va_fsid` rather than `va_nlink`, same as the comment in 
zfs_replay_create_acl().  Not sure how that got messed up.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/409#discussion_r134860543
------------------------------------------
openzfs-developer
Archives: 
https://openzfs.topicbox.com/groups/developer/discussions/Tfefe6318017dd4c7-Ma3c3e12f2a1524be78a8b66f
Powered by Topicbox: https://topicbox.com

Reply via email to