tree f38aa7461c85861ae74f72c33d1556686e1909cb parent f0eca9626c6becb6fc56106b2e4287c6c784af3d author Linus Torvalds <[EMAIL PROTECTED]> Sat, 10 Sep 2005 05:42:34 -0700 committer Linus Torvalds <[EMAIL PROTECTED]> Sat, 10 Sep 2005 05:42:34 -0700
Preempt-safe RCU file usage Fix up fs/compat.c fixes. fs/compat.c | 2 ++ 1 files changed, 2 insertions(+) diff --git a/fs/compat.c b/fs/compat.c --- a/fs/compat.c +++ b/fs/compat.c @@ -1645,8 +1645,10 @@ compat_sys_select(int n, compat_ulong_t 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; - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html