From: Andrew Morton Date: Mon, 10 Jul 2006 11:45:31 +0000 (-0700) Subject: [PATCH] fix weird logic in alloc_fdtable() X-Git-Tag: v2.6.18-rc2~142 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92eb7a2f28d551acedeb5752263267a64b1f5ddf;p=pandora-kernel.git [PATCH] fix weird logic in alloc_fdtable() There's a fairly obvious infinite loop in there. Also, use roundup_pow_of_two() rather than open-coding stuff. Cc: Eric Dumazet Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed