From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f193.google.com ([209.85.220.193]:34000 "EHLO mail-qk0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755612AbcKVR7Y (ORCPT ); Tue, 22 Nov 2016 12:59:24 -0500 Received: by mail-qk0-f193.google.com with SMTP id y205so5708772qkb.1 for ; Tue, 22 Nov 2016 09:58:37 -0800 (PST) Date: Tue, 22 Nov 2016 22:58:33 +0300 From: Alexey Dobriyan To: viro@zeniv.linux.org.uk Cc: linux-fsdevel@vger.kernel.org Subject: [PATCH 2/2] vfs: delete d_hash_mask Message-ID: <20161122195833.GD29812@avx2> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Write-only variable. Signed-off-by: Alexey Dobriyan --- fs/dcache.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- a/fs/dcache.c +++ b/fs/dcache.c @@ -99,7 +99,6 @@ static struct kmem_cache *dentry_cache __read_mostly; * information, yet avoid using a prime hash-size or similar. */ -static unsigned int d_hash_mask __read_mostly; static unsigned int d_hash_shift __read_mostly; static struct hlist_bl_head *dentry_hashtable __read_mostly; @@ -3554,7 +3553,7 @@ static void __init dcache_init_early(void) 13, HASH_EARLY, &d_hash_shift, - &d_hash_mask, + NULL, 0, 0); @@ -3587,7 +3586,7 @@ static void __init dcache_init(void) 13, 0, &d_hash_shift, - &d_hash_mask, + NULL, 0, 0);