]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/lockd/host.c
lockd: get rid of reference-counted NSM RPC clients
[mirror_ubuntu-bionic-kernel.git] / fs / lockd / host.c
index b5f3c3ab0d5f28f7df7e2c9a6e3cbacbe348c8c6..d716c9993a261cc0f62115bc65aecd74c15ea7b3 100644 (file)
@@ -161,6 +161,7 @@ static struct nlm_host *nlm_alloc_host(struct nlm_lookup_host_info *ni,
        host->h_nsmhandle  = nsm;
        host->h_addrbuf    = nsm->sm_addrbuf;
        host->net          = ni->net;
+       strlcpy(host->nodename, utsname()->nodename, sizeof(host->nodename));
 
 out:
        return host;