summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZheng Yongjun <zhengyongjun3@huawei.com>2020-12-11 16:41:58 +0800
committerTrond Myklebust <trond.myklebust@hammerspace.com>2020-12-16 07:57:37 -0500
commit3316fb80a0b4c1fef03a3eb1a7f0651e2133c429 (patch)
treeffa2449a2af0e3552b033635314647fc81bf1d20
parent7be9b38afafbfcc58ede3be66bfc4ea415b3d5f1 (diff)
downloadlinux-3316fb80a0b4c1fef03a3eb1a7f0651e2133c429.tar.bz2
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>
-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: