* [PATCH 2/2] vfs: delete d_hash_mask
@ 2016-11-22 19:58 Alexey Dobriyan
0 siblings, 0 replies; only message in thread
From: Alexey Dobriyan @ 2016-11-22 19:58 UTC (permalink / raw)
To: viro; +Cc: linux-fsdevel
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-11-22 17:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-22 19:58 [PATCH 2/2] vfs: delete d_hash_mask Alexey Dobriyan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).