diff options
| author | Dimitri Sivanich <[email protected]> | 2012-02-08 20:39:07 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2012-02-14 01:45:38 +0000 |
| commit | 074b85175a43a23fdbde60f55feea636e0bf0f85 (patch) | |
| tree | e6f6fdd82854b2bf25ea5b404cee010806a8fced /lib/string_helpers.c | |
| parent | autofs4 - fix lockdep splat in autofs (diff) | |
| download | kernel-074b85175a43a23fdbde60f55feea636e0bf0f85.tar.gz kernel-074b85175a43a23fdbde60f55feea636e0bf0f85.zip | |
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 <[email protected]>
Acked-by: David S. Miller <[email protected]>
Cc: Al Viro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
