From: Stanislav Kinsbursky Date: Tue, 31 Jan 2012 11:07:48 +0000 (+0400) Subject: Lockd: create permanent lockd sockets in current network namespace X-Git-Tag: v3.4-rc1~123^2~112 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c228fa2038a33bb3b87f567482124f452e162a71;p=pandora-kernel.git Lockd: create permanent lockd sockets in current network namespace This patch parametrizes Lockd permanent sockets creation routine by network namespace context. It also replaces hard-coded init_net with current network namespace context in Lockd sockets creation routines. This approach looks safe, because Lockd is created during NFS mount (or NFS server start) and thus socket is required exactly in current network namespace context. But in the same time it means, that Lockd sockets inherits first Lockd requester network namespace. This issue will be fixed in further patches of the series. Signed-off-by: Stanislav Kinsbursky Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed