]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
nfs: nfs4proc: Convert comma to semicolon
authorChen Ni <nichen@iscas.ac.cn>
Tue, 3 Feb 2026 01:09:40 +0000 (09:09 +0800)
committerAnna Schumaker <anna.schumaker@oracle.com>
Mon, 9 Feb 2026 19:24:19 +0000 (14:24 -0500)
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@iscas.ac.cn>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
fs/nfs/nfs4proc.c

index 9c2ffe72cf339125856c2550950149673fca0bb2..1802293207319bba2774a56b688a1549e7ece396 100644 (file)
@@ -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);
 }