Re: [PATCH] um: hostfs: avoid issues on inode number reuse by host

2025-03-12 Thread Mickaël Salaün
On Fri, Feb 14, 2025 at 10:28:22AM +0100, Benjamin Berg wrote: > From: Benjamin Berg > > Some file systems (e.g. ext4) may reuse inode numbers once the inode is > not in use anymore. Usually hostfs will keep an FD open for each inode, > but this is not always the case. In the case of sockets, thi

[PATCH] um: hostfs: avoid issues on inode number reuse by host

2025-02-14 Thread Benjamin Berg
From: Benjamin Berg Some file systems (e.g. ext4) may reuse inode numbers once the inode is not in use anymore. Usually hostfs will keep an FD open for each inode, but this is not always the case. In the case of sockets, this cannot even be done properly. As such, the following sequence of event