]> git.kernelconcepts.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)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 17 Oct 2012 02:49:20 +0000 (03:49 +0100)
commit5ff39e971c87ea9f4c4c7b253898abafa960e32b
treeac70b6cbb067b6a5a560527a91dfcde88d0e0f70
parent5ed7d4de6853126fe9bb27d9cd443ee0a2d6e90a
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: Ben Hutchings <ben@decadent.org.uk>
fs/lockd/mon.c