Skip to content

Commit

Permalink
ksmbd: fix wrong file creation with steam library
Browse files Browse the repository at this point in the history
Signed-off-by: Namjae Jeon <[email protected]>
  • Loading branch information
namjaejeon committed Jan 2, 2025
1 parent d0a6fce commit 82c2853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -2852,14 +2852,14 @@ int ksmbd_vfs_kern_path_locked(struct ksmbd_work *work, char *name,
filepath,
flags,
path);
next[0] = '/';
if (err)
goto out2;
else if (is_last)
goto out1;
path_put(parent_path);
*parent_path = *path;

next[0] = '/';
remain_len -= filename_len + 1;
}

Expand Down

0 comments on commit 82c2853

Please sign in to comment.