From patchwork Tue Nov 22 19:58:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Dobriyan X-Patchwork-Id: 9441815 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8B698605EE for ; Tue, 22 Nov 2016 17:59:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 835CB27DCE for ; Tue, 22 Nov 2016 17:59:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 77C4427F4B; Tue, 22 Nov 2016 17:59:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 37F1027DCE for ; Tue, 22 Nov 2016 17:59:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756329AbcKVR70 (ORCPT ); Tue, 22 Nov 2016 12:59:26 -0500 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=D4w32iMFjrW0WYFUEQ/TrVpbU0R5Vod7nvNRaNDct9o=; b=ttZNoFYaRvt0Pufb0rRMeEdirEIfZV0whLpciQuB6QjH5GyDfEzPuHHsjQA8SuM2F0 XAq5liqj1AM4ZHjo+P6+cAsjMyZcq1xT8utDIyl5/LIXWBU88F72ssK7u7LTZFLhYIDT 5XUUF4ktYdrVKqaeujK4NNSUy1RU8qGKNe4oO4GGZi3On6fyLR0Z6YBk0EP2k41STg7x RnmKGnWdGG6HwiP3MZdRrTSPd3YM/i7tWHmrdqm509o4J0VdQ0Bzu5dUoFwx78shnS5I y0Y69E+PnxQK+yZFkKgu4WPjNiIqT9bpxEk9fELUOF16hRQrlv/LyeVXnVCCcS9Dg0LB EDvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=D4w32iMFjrW0WYFUEQ/TrVpbU0R5Vod7nvNRaNDct9o=; b=ljFTJY8zrEG3oFTGBJYx89sTwXihzEm/v5LsvV1K3t20b6xKao+DGGDQ/BWnQGa4gr 4CV/4T4L+CT6wJ8sqCtyyD2Wm2lIA2nKBPmuUMg7fqbI/woR5xK9JH3lY3moS60oewT2 wCt8Qi+hv+Z7TtP7/mvmgfrQDEgzkKt4zb7bcHhOVZB0zLmSkkpugyJlMdIG+tH6QrPf SxbOlnO7y7jpe88o9yjvEKZZfMbN7QBHl1uRgym/yISN7hgLISnsQvAkAFILOPJ3HJRc OEJqx/d6TyhDBMzmxJ1Ih9sFbHFxvDqJ03mN3/XmF2WPYJZFVKyjjji+xarwEf42Y35l WT8g== X-Gm-Message-State: AKaTC01msCLbr8mn0af3SIlnA7ihu2S1J8if17kvPIkw7zAhd9EFtFUIIWdsr6DLqHFqmw== X-Received: by 10.46.33.9 with SMTP id h9mr12248549ljh.70.1479837517174; Tue, 22 Nov 2016 09:58:37 -0800 (PST) Received: from avx2 (nat6-minsk-pool-46-53-209-92.telecom.by. [46.53.209.92]) by smtp.gmail.com with ESMTPSA id l34sm6474311lfi.4.2016.11.22.09.58.36 (version=TLS1_2 cipher=AES128-GCM-SHA256 bits=128/128); Tue, 22 Nov 2016 09:58:36 -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-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Write-only variable. Signed-off-by: Alexey Dobriyan --- fs/dcache.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 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);