Fully update inode when created
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 2 May 2011 21:04:19 +0000 (14:04 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 2 May 2011 21:04:19 +0000 (14:04 -0700)
commit5f35b190071048f25d66db81ce9763ecd0c1760e
treebb286c8a422fd4a1ad8ba5dc77f1aa4c908e2c86
parentdf554c148ecfdfb7e597f8ab7eee71388b24a19d
Fully update inode when created

When a new znode/inode pair is created both the znode and the inode
should be immediately updated to the correct values.  This was done
for the znode and for most of the values in the inode, but not all
of them.  This normally wasn't a problem because most subsequent
operations would cause the inode to be immediately updated.  This
change ensures the inode is now fully updated before it is inserted
in to the inode hash.

Closes #116
Closes #146
Closes #164
module/zfs/zfs_znode.c