summaryrefslogtreecommitdiffstats
path: root/fs/dcache.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2017-11-20 16:05:52 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2018-01-26 01:34:30 +0100
commitb35d786b674345bb32b5181d48408ec2de147011 (patch)
treed3d7d4b76d6c252cbefcb04a1ed6bbe33d9927d5 /fs/dcache.c
parentdcache: subtract d_hash_shift from 32 in advance (diff)
downloadlinux-b35d786b674345bb32b5181d48408ec2de147011.tar.xz
linux-b35d786b674345bb32b5181d48408ec2de147011.zip
dcache: delete unused d_hash_mask
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/dcache.c')
-rw-r--r--fs/dcache.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/dcache.c b/fs/dcache.c
index d4f5b52d99be..f110e9eebb58 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -103,7 +103,6 @@ EXPORT_SYMBOL(slash_name);
* 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;
@@ -3590,7 +3589,7 @@ static void __init dcache_init_early(void)
13,
HASH_EARLY | HASH_ZERO,
&d_hash_shift,
- &d_hash_mask,
+ NULL,
0,
0);
d_hash_shift = 32 - d_hash_shift;
@@ -3617,7 +3616,7 @@ static void __init dcache_init(void)
13,
HASH_ZERO,
&d_hash_shift,
- &d_hash_mask,
+ NULL,
0,
0);
d_hash_shift = 32 - d_hash_shift;