smbd: Mark fsp as directory after calling fstat()
authorVolker Lendecke <vl@samba.org>
Tue, 8 Mar 2022 11:57:13 +0000 (12:57 +0100)
committerRalph Boehme <slow@samba.org>
Fri, 11 Mar 2022 18:22:28 +0000 (18:22 +0000)
commit4e70b754a9cabb5d31d78e7d4a3f18028db07e99
tree2b8df7cc55e771d75b2dd2a968b9c39e9afbf26c
parent93d2defa42683cd151b7a11075396aa911dbf0ae
smbd: Mark fsp as directory after calling fstat()

Everything else is racy, and this is cheap to check.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/files.c