mirror of
https://git.openafs.org/openafs.git
synced 2025-01-20 07:51:00 +00:00
disconnected-rmdir-infinite-recursion-20081012
LICENSE IPL10 FIXES 121226 fix infinite recursion when replaying rmdir transaction
This commit is contained in:
parent
7c6fac305c
commit
0195d7c082
@ -435,8 +435,7 @@ afs_rmdir(OSI_VC_DECL(adp), char *aname, struct AFS_UCRED *acred)
|
|||||||
ObtainSharedLock(&tdc->lock, 732);
|
ObtainSharedLock(&tdc->lock, 732);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!tvc->ddirty_flags ||
|
if (!tvc->ddirty_flags) {
|
||||||
(tvc->ddirty_flags == VDisconShadowed)) {
|
|
||||||
/* Put it in the list only if it's fresh or has only been shadowed. */
|
/* Put it in the list only if it's fresh or has only been shadowed. */
|
||||||
ObtainWriteLock(&afs_DDirtyVCListLock, 728);
|
ObtainWriteLock(&afs_DDirtyVCListLock, 728);
|
||||||
AFS_DISCON_ADD_DIRTY(tvc);
|
AFS_DISCON_ADD_DIRTY(tvc);
|
||||||
|
Loading…
Reference in New Issue
Block a user