|
@@ -379,8 +379,7 @@ int task_get_unused_fd_flags(struct binder_proc *proc, int flags)
|
|
|
|
|
|
repeat:
|
|
|
fdt = files_fdtable(files);
|
|
|
- fd = find_next_zero_bit(fdt->open_fds->fds_bits, fdt->max_fds,
|
|
|
- files->next_fd);
|
|
|
+ fd = find_next_zero_bit(fdt->open_fds, fdt->max_fds, files->next_fd);
|
|
|
|
|
|
/*
|
|
|
* N.B. For clone tasks sharing a files structure, this test
|