projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lockd: get rid of reference-counted NSM RPC clients
[firefly-linux-kernel-4.4.55.git]
/
fs
/
lockd
/
host.c
diff --git
a/fs/lockd/host.c
b/fs/lockd/host.c
index b5f3c3ab0d5f28f7df7e2c9a6e3cbacbe348c8c6..d716c9993a261cc0f62115bc65aecd74c15ea7b3 100644
(file)
--- a/
fs/lockd/host.c
+++ b/
fs/lockd/host.c
@@
-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;