From: Frode Isaksen Date: Sun, 25 Jun 2006 12:49:09 +0000 (-0700) Subject: [PATCH] fs: sys_poll with timeout -1 bug fix X-Git-Tag: v2.6.18-rc1~896 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04a3446c90137a473837288b04b517b19dc67a0d;p=pandora-kernel.git [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 Acked-by: Nishanth Aravamudan Cc: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed