]> git.ipfire.org Git - thirdparty/samba.git/commit
smbd: Remove an unnecessary call to SMB_VFS_STAT()
authorVolker Lendecke <vl@samba.org>
Fri, 24 Jan 2025 12:45:31 +0000 (13:45 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 5 Feb 2025 00:07:30 +0000 (00:07 +0000)
commita5177ef3939b79699639097b2cd42c23e1ff5dca
tree4b75e7a99bdfbf63a58cf038527a625bc3f7d60b
parente24c9b99dbd882091cfbc9aa87aa3fb632a14a79
smbd: Remove an unnecessary call to SMB_VFS_STAT()

smb_fname came out of filename_convert_dirfsp(), which already stat'ed
if the file exists. !VALID_STAT means new file.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/smb1_reply.c