On Fri, Mar 22, 2024 at 02:57:28PM +0000, Al Viro wrote: > What WRITE_ONE()? We really shouldn't modify it without ->open_mutex; do > we ever do that? In current mainline: READ_ONCE must be paired with WRITE_ONCE. All updates are under a lock, and if you want some other scheme than the atomic_t go ahead. I original did READ_ONCE/WRITE_ONCE and this was changed based on review feedback.