resizable namespace.c hashes
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 28 Feb 2014 18:46:44 +0000 (13:46 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 30 Mar 2014 23:18:49 +0000 (19:18 -0400)
* switch allocation to alloc_large_system_hash()
* make sizes overridable by boot parameters (mhash_entries=, mphash_entries=)
* switch mountpoint_hashtable from list_head to hlist_head

Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/mount.h
fs/namespace.c

index a17458c..acdb428 100644 (file)
@@ -19,7 +19,7 @@ struct mnt_pcp {
 };
 
 struct mountpoint {
-       struct list_head m_hash;
+       struct hlist_node m_hash;
        struct dentry *m_dentry;
        int m_count;
 };
diff --cc fs/namespace.c
Simple merge