mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 13:38:01 +00:00
DEVEL15-discon-remove-fix-20090128
LICENSE IPL10 fix my own error (cherry picked from commit df139845e9f83cd15f3b0ab8dcbb27781c811642)
This commit is contained in:
parent
2ed1c68c04
commit
aa7be50728
@ -446,12 +446,14 @@ afs_remove(OSI_VC_DECL(adp), char *aname, struct AFS_UCRED *acred)
|
||||
}
|
||||
tvc->uncred = acred;
|
||||
tvc->f.states |= CUnlinked;
|
||||
#if defined(AFS_DISCON_ENV)
|
||||
/* if rename succeeded, remove should not */
|
||||
ObtainWriteLock(&tvc->lock, 715);
|
||||
if (tvc->f.ddirty_flags & VDisconRemove) {
|
||||
tvc->f.ddirty_flags &= ~VDisconRemove;
|
||||
}
|
||||
ReleaseWriteLock(&tvc->lock);
|
||||
#endif
|
||||
} else {
|
||||
osi_FreeSmallSpace(unlname);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user