OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1152-g66db3f3
Gerrit Code Review
gerrit@openafs.org
Sun, 1 May 2011 20:42:16 -0700 (PDT)
The following commit has been merged in the master branch:
commit 66db3f38da5527d67631d85fd3ff5a9c77cc1f11
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Sun May 1 00:11:13 2011 -0400
Windows: Fix caching of non-existing vols
In cm_UpdateVolumeLocation() the conditional that would
trigger the immediate return of CM_ERROR_NOSUCHVOLUME
was backwards which prevented the caching from working.
cm_CheckOfflineVolumes() is called by the daemon thread
to reset the status of offline volumes. Non-existing
volumes are by definition offline and cannot be brought
online. Therefore, the cm_CheckOfflineVolumes() function
should skip volumes with the CM_VOLUMEFLAG_NOEXIST flag
set.
Change-Id: If4093132322e7dd02d71c0f18d6492abbea53e01
Reviewed-on: http://gerrit.openafs.org/4597
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
src/WINNT/afsd/cm_volume.c | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
--
OpenAFS Master Repository