projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
asus-laptop: add light sensor support
[firefly-linux-kernel-4.4.55.git]
/
fs
/
open.c
diff --git
a/fs/open.c
b/fs/open.c
index 0d94319e8681b010cb8aaf0bf9c5df77504ddcde..c989fb4cf7b9ce1bfc479ca7a0b6a4881e333c63 100644
(file)
--- a/
fs/open.c
+++ b/
fs/open.c
@@
-864,8
+864,7
@@
int get_unused_fd(void)
repeat:
fdt = files_fdtable(files);
- fd = find_next_zero_bit(fdt->open_fds->fds_bits,
- fdt->max_fdset,
+ fd = find_next_zero_bit(fdt->open_fds->fds_bits, fdt->max_fds,
files->next_fd);
/*