From: Dimitri Sivanich Date: Wed, 8 Feb 2012 20:39:07 +0000 (-0800) Subject: vfs: fix panic in __d_lookup() with high dentry hashtable counts X-Git-Tag: v3.3-rc5~30^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=074b85175a43a23fdbde60f55feea636e0bf0f85;p=pandora-kernel.git vfs: fix panic in __d_lookup() with high dentry hashtable counts When the number of dentry cache hash table entries gets too high (2147483648 entries), as happens by default on a 16TB system, use of a signed integer in the dcache_init() initialization loop prevents the dentry_hashtable from getting initialized, causing a panic in __d_lookup(). Fix this in dcache_init() and similar areas. Signed-off-by: Dimitri Sivanich Acked-by: David S. Miller Cc: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Al Viro --- Reading git-diff-tree failed