mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
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:
parent
0a98596cd3
commit
19f424ecc2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user