mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 13:38:01 +00:00
DEVEL15-darwin-dont-assert-on-lock-state-in-remove-20071219
LICENSE IPL10 remove panic due to lock being grabbedin another thread can't be accurately covered with this test on darwin, as e.g. proc_selfthread() is not in the KPI (cherry picked from commit f54187bfc59797fe955e779d432d155ab3792022)
This commit is contained in:
parent
79c3dfcaef
commit
861a8762b4
@ -418,7 +418,11 @@ afs_remove(OSI_VC_ARG(adp), aname, acred)
|
||||
code = afsremove(adp, tdc, tvc, aname, acred, &treq);
|
||||
}
|
||||
afs_PutFakeStat(&fakestate);
|
||||
#ifndef AFS_DARWIN80_ENV
|
||||
/* we can't track by thread, it's not exported in the KPI; only do
|
||||
this on !macos */
|
||||
osi_Assert(!WriteLocked(&adp->lock) || (adp->lock.pid_writer != MyPidxx));
|
||||
#endif
|
||||
return code;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user