Windows: HaveCallback vs OfflineRO Is Valid

commit f716962ab4
inadvertently broke the offline .readonly is valid functionality
when readonly volume versioning is disabled.  Restore it.

Change-Id: Iae282f394d49ca5f558a62819bc2bbd8dd7f152e
Reviewed-on: http://gerrit.openafs.org/7679
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
This commit is contained in:
Jeffrey Altman 2012-07-03 12:49:53 -04:00
parent 64a37fa9f9
commit c3485a35b7

View File

@ -1576,8 +1576,7 @@ int cm_HaveCallback(cm_scache_t *scp)
return (cm_data.fakeDirVersion == scp->dataVersion);
}
#endif
if (cm_readonlyVolumeVersioning &&
(scp->flags & CM_SCACHEFLAG_PURERO)) {
if (scp->flags & CM_SCACHEFLAG_PURERO) {
cm_volume_t *volp = cm_GetVolumeByFID(&scp->fid);
if (volp) {
int haveCB = 0;