Skip to content
Snippets Groups Projects
Commit 04a3446c authored by Frode Isaksen's avatar Frode Isaksen Committed by Linus Torvalds
Browse files

[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: default avatarFrode Isaksen <frode.isaksen@gmail.com>
Acked-by: default avatarNishanth Aravamudan <nacc@us.ibm.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 8bdd1d12
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment