Windows: clear mountPointStringp on status change
authorJeffrey Altman <jaltman@your-file-system.com>
Mon, 20 Dec 2010 14:59:43 +0000 (09:59 -0500)
committerJeffrey Altman <jaltman@openafs.org>
Mon, 20 Dec 2010 16:06:10 +0000 (08:06 -0800)
commitbb4c0234b2fa5ae91097b6c40cbfda6ed7484eb0
tree2ba127e4d4eb2ab592fe926a0eaebd43e6b7405f
parent27469e59b134efef6c908a1bfa8162d4bf9b8275
Windows: clear mountPointStringp on status change

If the data version of the cm_scache_t changes, we must clear
the mountPointString.  Otherwise, if the object is a mountpoint
or symlink, cm_HandleLink() will not attempt to build the new
target string.   The Windows CM never updates the contents of
a mountpoint or symlink.  It always destroys the old and creates
a new one.  However, the Unix CM simply updates the link data.
Apparently, the Windows clients have never noticed.

Change-Id: If2297ed0a323411df13b7828d11dbb653669d351
Reviewed-on: http://gerrit.openafs.org/3552
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
src/WINNT/afsd/cm_scache.c