]> git.karo-electronics.de Git - karo-tx-linux.git/commit
lockd: use rpc client's cl_nodename for id encoding
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Tue, 18 Sep 2012 09:37:18 +0000 (13:37 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Oct 2012 16:27:57 +0000 (09:27 -0700)
commit586046257ea1a0e09a58e2d756e760102a60d6d3
tree15c38b42d109be7f0032dfb8ed41b99c8b5d0a41
parent2bb06038d0dfb47acb64de01a13a7bf963d216f4
lockd: use rpc client's cl_nodename for id encoding

commit 303a7ce92064c285a04c870f2dc0192fdb2968cb upstream.

Taking hostname from uts namespace if not safe, because this cuold be
performind during umount operation on child reaper death. And in this case
current->nsproxy is NULL already.

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/lockd/mon.c