vol: correct old conditional for IH_CONDSYNC

Two places in the vol package performed IH_CONDSYNC(vp->linkHandle)
only if AFS_NT40_ENV.  This was correct when the namei implementation
was windows only; however, this ifdef was apparently overlooked
when namei was implemented for UNIX.

Change-Id: I0cbe2c5c0a65ece0485b8c2d5a5f92eeb53725fe
Reviewed-on: http://gerrit.openafs.org/8815
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
This commit is contained in:
Mark Vitale 2012-12-21 18:26:18 -05:00 committed by Derrick Brashear
parent 0a98596cd3
commit 19f424ecc2

View File

@ -4810,9 +4810,9 @@ VCloseVolumeHandles_r(Volume * vp)
IH_CONDSYNC(vp->vnodeIndex[vLarge].handle);
IH_CONDSYNC(vp->vnodeIndex[vSmall].handle);
IH_CONDSYNC(vp->diskDataHandle);
#ifdef AFS_NT40_ENV
#ifdef AFS_NAMEI_ENV
IH_CONDSYNC(vp->linkHandle);
#endif /* AFS_NT40_ENV */
#endif /* AFS_NAMEI_ENV */
}
IH_REALLYCLOSE(vp->vnodeIndex[vLarge].handle);
@ -4863,9 +4863,9 @@ VReleaseVolumeHandles_r(Volume * vp)
IH_CONDSYNC(vp->vnodeIndex[vLarge].handle);
IH_CONDSYNC(vp->vnodeIndex[vSmall].handle);
IH_CONDSYNC(vp->diskDataHandle);
#ifdef AFS_NT40_ENV
#ifdef AFS_NAMEI_ENV
IH_CONDSYNC(vp->linkHandle);
#endif /* AFS_NT40_ENV */
#endif /* AFS_NAMEI_ENV */
}
IH_RELEASE(vp->vnodeIndex[vLarge].handle);