OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_0pre4-24-gdd8b624
Gerrit Code Review
gerrit@openafs.org
Mon, 2 May 2011 05:49:50 -0700 (PDT)
The following commit has been merged in the openafs-stable-1_6_x branch:
commit dd8b624cf73c98d8edab2b253d40b4c2589d44d0
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: I65534b78842b4887d2fde67162a9d854437001ed
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>
Reviewed-on: http://gerrit.openafs.org/4598
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/WINNT/afsd/cm_volume.c | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
--
OpenAFS Master Repository