All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexey Dobriyan <adobriyan@gmail.com>
To: viro@zeniv.linux.org.uk
Cc: linux-fsdevel@vger.kernel.org
Subject: [PATCH 2/2] vfs: delete d_hash_mask
Date: Tue, 22 Nov 2016 22:58:33 +0300	[thread overview]
Message-ID: <20161122195833.GD29812@avx2> (raw)

Write-only variable.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 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);
 

                 reply	other threads:[~2016-11-22 17:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161122195833.GD29812@avx2 \
    --to=adobriyan@gmail.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=viro@zeniv.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.