nfs: nfs4proc: Convert comma to semicolon
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- fs/nfs/nfs4proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/nfs/nfs4proc.c +1 -1
@@ -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 ); }
Signature · 1 line
2.25.1
Quoted 20 lines · Chen Ni
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 <[email protected]>--- fs/nfs/nfs4proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/nfs/nfs4proc.c +0
-0
fs/nfs/nfs4proc.c static void nfs4_proc_rename_setup(struct rpc_message *msg, · line 5022
Quoted 8 lines
fs/nfs/nfs4proc.c +1
-1@@ -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 ); }
Almost certainly a typo.
Reviewed-by Jeff Layton <[email protected]>