smbd: Remove "file_existed" handling from open_mode_check
authorVolker Lendecke <vl@samba.org>
Thu, 26 Sep 2013 21:32:09 +0000 (14:32 -0700)
committerMichael Adam <obnox@samba.org>
Tue, 15 Oct 2013 22:50:13 +0000 (00:50 +0200)
commit4c0cf9fade8e9118c8da31cf3db3a4497321294b
tree9fa508c13bd0fd81ba2f4f96a92311426de2c4e3
parent4263d16f134bd93813a880ccb81503bc998a98f3
smbd: Remove "file_existed" handling from open_mode_check

No clue what this does. In open_directory, "dir_existed" is not used after
open_mode_check. In open_file_ntcreate it's used, but I can't think of a case
right now where we would find a formerly nonexisting file to exist suddenly.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/smbd/open.c