On Tue, Apr 03, 2018 at 04:43:17PM +0200, Martin Pieuchot wrote:
> Here's another refactoring to properly reference count a 'struct file *'
> just after calling fd_getfile().
>
> Instead of incrementing `f_count' by hand, give the current reference
> to finishdup() like it is done in other places
Here's another refactoring to properly reference count a 'struct file *'
just after calling fd_getfile().
Instead of incrementing `f_count' by hand, give the current reference
to finishdup() like it is done in other places in the same file.
Ok?
Index: kern/kern_descrip.c