diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2017-06-27 12:19:11 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-06-29 20:17:14 -0400 |
commit | 6916363f3083837ed5adb3df2dd90d6b97017dff (patch) | |
tree | 55244a53570f472efe97bf9ebbfd508b0146eb05 /fs/dcache.c | |
parent | 4f2ed694148131f93baffca9e68b0cd8dcc96c38 (diff) |
fs/dcache: init in_lookup_hashtable
in_lookup_hashtable was introduced in commit 94bdd655caba ("parallel
lookups machinery, part 3") and never initialized but since it is in
the data it is all zeros. But we need this for -RT.
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/dcache.c')
-rw-r--r-- | fs/dcache.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/dcache.c b/fs/dcache.c index a9f995f6859e..b85da8897ffa 100644 --- a/fs/dcache.c +++ b/fs/dcache.c | |||
@@ -3608,6 +3608,11 @@ EXPORT_SYMBOL(d_genocide); | |||
3608 | 3608 | ||
3609 | void __init vfs_caches_init_early(void) | 3609 | void __init vfs_caches_init_early(void) |
3610 | { | 3610 | { |
3611 | int i; | ||
3612 | |||
3613 | for (i = 0; i < ARRAY_SIZE(in_lookup_hashtable); i++) | ||
3614 | INIT_HLIST_BL_HEAD(&in_lookup_hashtable[i]); | ||
3615 | |||
3611 | dcache_init_early(); | 3616 | dcache_init_early(); |
3612 | inode_init_early(); | 3617 | inode_init_early(); |
3613 | } | 3618 | } |