diff options
Diffstat (limited to 'fs/eventpoll.c')
-rw-r--r-- | fs/eventpoll.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/eventpoll.c b/fs/eventpoll.c index 0f9c073d78d5..d7f1f5011fac 100644 --- a/fs/eventpoll.c +++ b/fs/eventpoll.c | |||
@@ -291,7 +291,7 @@ static LIST_HEAD(tfile_check_list); | |||
291 | 291 | ||
292 | #include <linux/sysctl.h> | 292 | #include <linux/sysctl.h> |
293 | 293 | ||
294 | static long zero; | 294 | static long long_zero; |
295 | static long long_max = LONG_MAX; | 295 | static long long_max = LONG_MAX; |
296 | 296 | ||
297 | struct ctl_table epoll_table[] = { | 297 | struct ctl_table epoll_table[] = { |
@@ -301,7 +301,7 @@ struct ctl_table epoll_table[] = { | |||
301 | .maxlen = sizeof(max_user_watches), | 301 | .maxlen = sizeof(max_user_watches), |
302 | .mode = 0644, | 302 | .mode = 0644, |
303 | .proc_handler = proc_doulongvec_minmax, | 303 | .proc_handler = proc_doulongvec_minmax, |
304 | .extra1 = &zero, | 304 | .extra1 = &long_zero, |
305 | .extra2 = &long_max, | 305 | .extra2 = &long_max, |
306 | }, | 306 | }, |
307 | { } | 307 | { } |