]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Windows: clear mountPointStringp on status change
authorJeffrey Altman <jaltman@your-file-system.com>
Mon, 20 Dec 2010 14:59:43 +0000 (09:59 -0500)
committerDerrick Brashear <shadow@dementia.org>
Tue, 1 Feb 2011 05:08:39 +0000 (21:08 -0800)
commit1711d5ecd1f57e618ebe1dfecaf0cda966228916
tree77fde779727e0c4732d7d93ed63d084d751cdd68
parent9a4a911f143d3ad295141342d085b65e928e4abc
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.

Reviewed-on: http://gerrit.openafs.org/3552
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
(cherry picked from commit bb4c0234b2fa5ae91097b6c40cbfda6ed7484eb0)

Change-Id: Icabba0b9bb6a1484d3ee3bc21dc6a39343e5491c
Reviewed-on: http://gerrit.openafs.org/3803
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/WINNT/afsd/cm_scache.c