smbd: remove a redundant fstat()in create_file_unixpath()
authorRalph Boehme <slow@samba.org>
Mon, 1 Feb 2021 11:03:08 +0000 (12:03 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 10 Jun 2021 09:31:12 +0000 (09:31 +0000)
commit5505b9a68344d03c903fa3dcbceb277ea41cac71
tree304a7e9aed7b4943f63946ea6e7b29d8d360403c
parent2dff00e034acf98ec29d264032506a068f6addeb
smbd: remove a redundant fstat()in create_file_unixpath()

openat_pathref_fsp() deep inside already calls fstat().

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14730

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 91edc50dc0aaa82d9ede7a7f8cf0f63312eb8503)
source3/smbd/open.c