mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-10 15:58:47 +00:00
staging : android : sync : get_unused_fd
sync.h recommends to use get_unused_fd which does not set O_CLOEXEC while the rest of the android tree uses get_unused_fd_flags and sets O_CLOEXEC. The patch adjust the comment. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
20187a7b69
commit
ae66475289
@ -293,7 +293,8 @@ void sync_fence_put(struct sync_fence *fence);
|
||||
* @fence: fence to install
|
||||
* @fd: file descriptor in which to install the fence
|
||||
*
|
||||
* Installs @fence into @fd. @fd's should be acquired through get_unused_fd().
|
||||
* Installs @fence into @fd. @fd's should be acquired through
|
||||
* get_unused_fd_flags(O_CLOEXEC).
|
||||
*/
|
||||
void sync_fence_install(struct sync_fence *fence, int fd);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user