Re: [PATCH v3 02/10] virtiofsd: Add TempFd structure

2021-08-09 Thread Max Reitz
On 06.08.21 16:41, Vivek Goyal wrote: On Fri, Jul 30, 2021 at 05:01:26PM +0200, Max Reitz wrote: We are planning to add file handles to lo_inode objects as an alternative to lo_inode.fd. That means that everywhere where we currently reference lo_inode.fd, we will have to open a temporary file d

Re: [PATCH v3 02/10] virtiofsd: Add TempFd structure

2021-08-06 Thread Vivek Goyal
On Fri, Jul 30, 2021 at 05:01:26PM +0200, Max Reitz wrote: > We are planning to add file handles to lo_inode objects as an > alternative to lo_inode.fd. That means that everywhere where we > currently reference lo_inode.fd, we will have to open a temporary file > descriptor that needs to be closed

[PATCH v3 02/10] virtiofsd: Add TempFd structure

2021-07-30 Thread Max Reitz
We are planning to add file handles to lo_inode objects as an alternative to lo_inode.fd. That means that everywhere where we currently reference lo_inode.fd, we will have to open a temporary file descriptor that needs to be closed after use. So instead of directly accessing lo_inode.fd, there wi