From: Stanislav Kinsbursky Date: Wed, 14 Nov 2012 15:21:51 +0000 (+0300) Subject: nfsd: make sessionid_hashtbl allocated per net X-Git-Tag: v3.8-rc1~20^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1872de0e8171904612ee85de218fa045bc473cad;p=pandora-kernel.git nfsd: make sessionid_hashtbl allocated per net This hash holds established sessions state and closely associated with nfs4_clients info, which are network namespace aware. So let's make it allocated per network namespace too. Note: this hash can be allocated in per-net operations. But it looks better to allocate it on nfsd state start and thus don't waste resources if server is not running. Signed-off-by: Stanislav Kinsbursky Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed