Trond Myklebust wrote: nfsi->delegation is released under the appropriate locks well before we get here. The above line is 100% racy and risks clobbering any new delegation that has been issued after the delegreturn completed... I'd have been amazed if I'd gotten it right. But there really is a problem here, the client does try to use delegations that have been returned, and this patch does solve that problem. I'm happy to keep after this but would appreciate any suggestions or nudges in the right direction. -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html