dcache: delete unused d_hash_mask
authorAlexey Dobriyan <adobriyan@gmail.com>
Mon, 20 Nov 2017 15:05:52 +0000 (18:05 +0300)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 26 Jan 2018 00:34:30 +0000 (19:34 -0500)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/dcache.c

index d4f5b52d99bea2cfffcefb4a821d7277b7f9a694..f110e9eebb58d31ef975f41cde3ed928fb189456 100644 (file)
@@ -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;