commit | 04a3446c90137a473837288b04b517b19dc67a0d | [log] [tgz] |
---|---|---|
author | Frode Isaksen <frode.isaksen@gmail.com> | Sun Jun 25 05:49:09 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Sun Jun 25 10:01:22 2006 -0700 |
tree | 874f1681da03441b021f81446e72ace451b0cb09 | |
parent | 8bdd1d1250d55afe403ac4affa6ccc5f9e60468f [diff] |
[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 <frode.isaksen@gmail.com> Acked-by: Nishanth Aravamudan <nacc@us.ibm.com> Cc: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>