On 21/05/2024 14:29, Jens Axboe wrote: > On 5/21/24 12:25 PM, Jens Axboe wrote: >> Outside of that, only other thing I can think of is that the final >> close would be punted to task_work by fput(), which means there's also >> a dependency on the task having run its kernel task_work before it's >> fully closed. > > Yep I think that's it, the below should fix it. Tested-by: Andrew Udvare