projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge master.kernel.org:/home/rmk/linux-2.6-arm
[deliverable/linux.git]
/
fs
/
compat.c
diff --git
a/fs/compat.c
b/fs/compat.c
index c2e0813164b458bb9fa93e383be7f967f63aff21..ac3fb9ed8eeaf847fcd2238edb2f941d7125b7a4 100644
(file)
--- a/
fs/compat.c
+++ b/
fs/compat.c
@@
-1645,8
+1645,10
@@
compat_sys_select(int n, compat_ulong_t __user *inp, compat_ulong_t __user *outp
goto out_nofds;
/* max_fdset can increase, so grab it once to avoid race */
+ rcu_read_lock();
fdt = files_fdtable(current->files);
max_fdset = fdt->max_fdset;
+ rcu_read_unlock();
if (n > max_fdset)
n = max_fdset;
This page took
0.027131 seconds
and
5
git commands to generate.