]> Git Repo - linux.git/commit - fs/select.c
[PATCH] fs: sys_poll with timeout -1 bug fix
authorFrode Isaksen <[email protected]>
Sun, 25 Jun 2006 12:49:09 +0000 (05:49 -0700)
committerLinus Torvalds <[email protected]>
Sun, 25 Jun 2006 17:01:22 +0000 (10:01 -0700)
commit04a3446c90137a473837288b04b517b19dc67a0d
tree874f1681da03441b021f81446e72ace451b0cb09
parent8bdd1d1250d55afe403ac4affa6ccc5f9e60468f
[PATCH] fs: sys_poll with timeout -1 bug fix

If you do a poll() call with timeout -1, the wait will be a big number
(depending on HZ) instead of infinite wait, since -1 is passed to the
msecs_to_jiffies function.

Signed-off-by: Frode Isaksen <[email protected]>
Acked-by: Nishanth Aravamudan <[email protected]>
Cc: David Woodhouse <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/select.c
This page took 0.055323 seconds and 4 git commands to generate.