The following commit has been merged in the master branch:
commit da2db6234221494956eca71ed3693c0a2bbf4a67
Author: Jeffrey Altman <[email protected]>
Date:   Sun May 2 14:48:00 2010 -0400

    Windows: Force rebuilding Freelance directory in AddMount and AddSymlink
    
    cm_FreelanceAddMount and cm_FreelanceAddSymlink is supposed to
    return the allocated FID of the entry that was added.  However,
    cm_NameI is called to perform the lookup without forcing an update
    of the Freelance fake directory.  As a result the entry may not be
    found.
    
    Force an update prior to calling cm_NameI() by using
    cm_clearLocalMountPointChange() and cm_reInitLocalMountPoints()
    if required.
    
    LICENSE MIT
    
    Change-Id: I08147b2ec61c810fdc718964362315af67d485b8
    Reviewed-on: http://gerrit.openafs.org/1890
    Reviewed-by: Jeffrey Altman <[email protected]>
    Tested-by: Jeffrey Altman <[email protected]>

 src/WINNT/afsd/cm_freelance.c |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

-- 
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to