summaryrefslogtreecommitdiffstats
path: root/fs/lockd/host.c
diff options
context:
space:
mode:
authorZheng Yongjun <zhengyongjun3@huawei.com>2020-12-11 09:41:58 +0100
committerTrond Myklebust <trond.myklebust@hammerspace.com>2020-12-16 13:57:37 +0100
commit3316fb80a0b4c1fef03a3eb1a7f0651e2133c429 (patch)
treeffa2449a2af0e3552b033635314647fc81bf1d20 /fs/lockd/host.c
parentNFSv4.2: fix error return on memory allocation failure (diff)
downloadlinux-3316fb80a0b4c1fef03a3eb1a7f0651e2133c429.tar.xz
linux-3316fb80a0b4c1fef03a3eb1a7f0651e2133c429.zip
fs/lockd: convert comma to semicolon
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to '')
-rw-r--r--fs/lockd/host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/lockd/host.c b/fs/lockd/host.c
index 771c289f6df7..f802223e71ab 100644
--- a/fs/lockd/host.c
+++ b/fs/lockd/host.c
@@ -163,7 +163,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;
- host->h_cred = get_cred(ni->cred),
+ host->h_cred = get_cred(ni->cred);
strlcpy(host->nodename, utsname()->nodename, sizeof(host->nodename));
out: