From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-co1nam03on0101.outbound.protection.outlook.com ([104.47.40.101]:32931 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756396AbeDIAcE (ORCPT ); Sun, 8 Apr 2018 20:32:04 -0400 From: Sasha Levin To: "stable@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: Sebastian Andrzej Siewior , Alexander Viro , "linux-fsdevel@vger.kernel.org" , Sasha Levin Subject: [PATCH AUTOSEL for 4.9 189/293] fs/dcache: init in_lookup_hashtable Date: Mon, 9 Apr 2018 00:25:22 +0000 Message-ID: <20180409002239.163177-189-alexander.levin@microsoft.com> References: <20180409002239.163177-1-alexander.levin@microsoft.com> In-Reply-To: <20180409002239.163177-1-alexander.levin@microsoft.com> Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org List-ID: From: Sebastian Andrzej Siewior [ Upstream commit 6916363f3083837ed5adb3df2dd90d6b97017dff ] 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 Cc: linux-fsdevel@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Al Viro Signed-off-by: Sasha Levin --- fs/dcache.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fs/dcache.c b/fs/dcache.c index c0c7fa8224ba..4df3d2300c7b 100644 --- a/fs/dcache.c +++ b/fs/dcache.c @@ -3637,6 +3637,11 @@ EXPORT_SYMBOL(d_genocide); =20 void __init vfs_caches_init_early(void) { + int i; + + for (i =3D 0; i < ARRAY_SIZE(in_lookup_hashtable); i++) + INIT_HLIST_BL_HEAD(&in_lookup_hashtable[i]); + dcache_init_early(); inode_init_early(); } --=20 2.15.1