On 12 Aug 2010, at 14:43, Hans-Werner Paulsen wrote:
> Isn't possible to do ReleaseKernelLock first, and then ReleaseAFSLock on
> unlock?

If ReleaseAFSLock fails for some reason, we don't want to release the kernel 
lock. Releasing it, only to reobtain it, is racy. I'm pretty sure that the 
correct solution here is to hold the vcache lock across the calls - I'll 
hopefully get a chance to look at some code to do this today.

Cheers,

Simon.

_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to