From: Stanislav Kinsbursky Date: Thu, 29 Mar 2012 14:54:33 +0000 (+0400) Subject: Lockd: pass network namespace to creation and destruction routines X-Git-Tag: v3.5-rc1~20^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3f70eadb7dddfb5a2bb9afff7abfc6ee17a29d0;p=pandora-kernel.git Lockd: pass network namespace to creation and destruction routines v2: dereference of most probably already released nlm_host removed in nlmclnt_done() and reclaimer(). These routines are called from locks reclaimer() kernel thread. This thread works in "init_net" network context and currently relays on persence on lockd thread and it's per-net resources. Thus lockd_up() and lockd_down() can't relay on current network context. So let's pass corrent one into them. Signed-off-by: Stanislav Kinsbursky Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed