Re: [PATCH 16/17] file: Merge __alloc_fd into alloc_fd

2020-08-18 Thread Christian Brauner
On Mon, Aug 17, 2020 at 05:04:24PM -0500, Eric W. Biederman wrote: > The function __alloc_fd was added to support binder[1]. With binder > fixed[2] there are no more users. Further with get_files_struct > removed there can be no more users of __alloc_fd that pass anything > except

[PATCH 16/17] file: Merge __alloc_fd into alloc_fd

2020-08-17 Thread Eric W. Biederman
The function __alloc_fd was added to support binder[1]. With binder fixed[2] there are no more users. Further with get_files_struct removed there can be no more users of __alloc_fd that pass anything except current->files. As alloc_fd just calls __alloc_fd with "files=current->files", merge