diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-02-28 19:46:44 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-03-31 01:18:49 +0200 |
commit | 0818bf27c05b2de56c5b2bd08cfae2a939bd5f52 (patch) | |
tree | 5e66b630daecbd5514f2beb908802ce26cc900ea /fs/mount.h | |
parent | Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/... (diff) | |
download | linux-0818bf27c05b2de56c5b2bd08cfae2a939bd5f52.tar.xz linux-0818bf27c05b2de56c5b2bd08cfae2a939bd5f52.zip |
resizable namespace.c hashes
* 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>
Diffstat (limited to 'fs/mount.h')
-rw-r--r-- | fs/mount.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/mount.h b/fs/mount.h index a17458ca6f29..acdb428de393 100644 --- a/fs/mount.h +++ b/fs/mount.h @@ -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; }; |