windows-hard-link-count-20090628
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 29 Jun 2009 04:25:16 +0000 (04:25 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 29 Jun 2009 04:25:16 +0000 (04:25 +0000)
commitb8a1dba29367c9786a5f43c90b0a000ff4d4315d
tree0e1773428cf0ad032db12dedc3472ceb7b56592c
parentd54859c6ac2e5186b18da027303860966504dbd9
windows-hard-link-count-20090628

LICENSE MIT

cm_Link() is used to create hard links.  It did not apply the updated
link target status info to the target cm_scache_t object.  As a result
the linkCount would be incorrect.

cm_Unlink() did not take linkCount into account.  It did not reduce the
locally known linkCount, nor did it invalidate any currently known
callback.  As a result the linkCount would be incorrect.
src/WINNT/afsd/cm_vnodeops.c