On Thu, Jul 10, 2014 at 08:49:22AM -0400, Jeff Layton wrote: > gets are always done with the lock held. puts do an atomic_dec_and_lock > or are done with the lock held. I don't see how that's racy... Yeah, as long as the atomic_read for the other fd is done under the lock it should be fine in the end. -- 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