]> git.karo-electronics.de Git - karo-tx-linux.git/commit
epoll: convert max_user_watches to long
authorRobin Holt <holt@sgi.com>
Thu, 13 Jan 2011 01:00:01 +0000 (17:00 -0800)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 26 Jun 2011 16:47:17 +0000 (12:47 -0400)
commit0ec63bc8c16763ab565ab97d39f10eb9a6ab9125
treef13c6a684e36f1ee02d8139a36d2dc16109f6511
parent8d988d390bbfd5ede742e9cab66916cb372e7829
epoll: convert max_user_watches to long

commit 52bd19f7691b2ea6433aef0ef94c08c57efd7e79 upstream.

On a 16TB machine, max_user_watches has an integer overflow.  Convert it
to use a long and handle the associated fallout.

Signed-off-by: Robin Holt <holt@sgi.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Acked-by: Davide Libenzi <davidel@xmailserver.org>
Cc: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
fs/eventpoll.c
include/linux/sched.h