Re: fd_getfile() and fp refcounting

2015-08-13 Thread Martin Pieuchot
On 15/07/15(Wed) 17:01, Martin Pieuchot wrote: > Here's diff a that moves FRELE() inside fd_getfile(). This is some > plumbing to help unlocking code paths manipulating fp. The idea is > to guarantee to the callers of fd_getfile() that the returned fp has > the necessary reference counts and will

fd_getfile() and fp refcounting

2015-07-15 Thread Martin Pieuchot
Here's diff a that moves FRELE() inside fd_getfile(). This is some plumbing to help unlocking code paths manipulating fp. The idea is to guarantee to the callers of fd_getfile() that the returned fp has the necessary reference counts and will not disappear while it is being manipulated. Some cod