[PATCH 2/2] vfs: delete d_hash_mask

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Write-only variable.

Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
---

 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);
 
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux