]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ksmbd: convert comma to semicolon
authorChen Ni <nichen@iscas.ac.cn>
Tue, 18 Nov 2025 01:32:29 +0000 (09:32 +0800)
committerSteve French <stfrench@microsoft.com>
Mon, 15 Dec 2025 00:35:56 +0000 (18:35 -0600)
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>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/server/vfs.c

index 98b0eb966d917c413c5cb241e114f539d0fb50c9..f891344bd76b58866ddde85331bbf6af4b41ff89 100644 (file)
@@ -702,7 +702,7 @@ retry:
        rd.old_parent           = NULL;
        rd.new_parent           = new_path.dentry;
        rd.flags                = flags;
-       rd.delegated_inode      = NULL,
+       rd.delegated_inode      = NULL;
        err = start_renaming_dentry(&rd, lookup_flags, old_child, &new_last);
        if (err)
                goto out_drop_write;