]> 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:17:09 +0000 (09:17 -0700)
commit12d63702c53bc2230dfc997e91ca891f39cb6446
tree37b77cd1e7ee0ee02a375d43403c5672f2230183
parentd1b9810beb86726a50152410e7fe7c17d5217bdb
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