[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20260203010940.366106-1-nichen@iscas.ac.cn>
Date: Tue, 3 Feb 2026 09:09:40 +0800
From: Chen Ni <nichen@...as.ac.cn>
To: trondmy@...nel.org,
anna@...nel.org
Cc: linux-nfs@...r.kernel.org,
linux-kernel@...r.kernel.org,
Chen Ni <nichen@...as.ac.cn>
Subject: [PATCH] nfs: nfs4proc: Convert comma to semicolon
Replace comma between expressions with semicolons.
Using a ',' in place of a ';' can have unintended side effects.
Although that is not the case here, it is seems best to use ';'
unless ',' is intended.
Found by inspection.
No functional change intended.
Compile tested only.
Signed-off-by: Chen Ni <nichen@...as.ac.cn>
---
fs/nfs/nfs4proc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 7c9cf0983366..dacd330fc623 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -5016,7 +5016,7 @@ static void nfs4_proc_rename_setup(struct rpc_message *msg,
if (same_parent)
nfs_request_directory_delegation(same_parent);
msg->rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_RENAME];
- res->server = server,
+ res->server = server;
nfs4_init_sequence(server->nfs_client, &arg->seq_args,
&res->seq_res, 1, 0);
}
--
2.25.1
Powered by blists - more mailing lists