projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] fdtable: Make fdarray and fdsets equal in size
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
include
/
linux
/
file.h
diff --git
a/include/linux/file.h
b/include/linux/file.h
index 6e77b9177f9e86ffd552fd9dcae491bc6715a6b1..02be4012225b2d7dfe4e7cff18c42248347ab39c 100644
(file)
--- a/
include/linux/file.h
+++ b/
include/linux/file.h
@@
-26,14
+26,8
@@
struct embedded_fd_set {
unsigned long fds_bits[1];
};
unsigned long fds_bits[1];
};
-/*
- * More than this number of fds: we use a separately allocated fd_set
- */
-#define EMBEDDED_FD_SET_SIZE (BITS_PER_BYTE * sizeof(struct embedded_fd_set))
-
struct fdtable {
unsigned int max_fds;
struct fdtable {
unsigned int max_fds;
- int max_fdset;
struct file ** fd; /* current fd array */
fd_set *close_on_exec;
fd_set *open_fds;
struct file ** fd; /* current fd array */
fd_set *close_on_exec;
fd_set *open_fds;