smbd: Simplify open_file()
commitf8645c7a1014a2d3f655c453ae833de3c83776b9
authorVolker Lendecke <vl@samba.org>
Tue, 5 Sep 2023 12:53:18 +0000 (5 14:53 +0200)
committerRalph Boehme <slow@samba.org>
Thu, 5 Oct 2023 12:58:33 +0000 (5 12:58 +0000)
tree1f0bf1a8739cd44cb7c8695b01443568282803fa
parentdf78af98936774cc1c01729eb4280877cbc05ff6
smbd: Simplify open_file()

We handle O_TRUNC further down anyway by passing local_flags&~O_TRUNC to
reopen_from_fsp(). No need for this FIFO special case.

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