smbd: Remove "local_flags" from open_file()
authorVolker Lendecke <vl@samba.org>
Tue, 5 Sep 2023 13:27:46 +0000 (15:27 +0200)
committerRalph Boehme <slow@samba.org>
Thu, 5 Oct 2023 12:58:33 +0000 (12:58 +0000)
commit7c35676987053fa4e51c1fc2ee2cfb1951aad708
tree3a6b1f0df8097d53550442bc87aec1d9fb48d3d0
parent6ec031b2d146962a414da69694d298c00df0c517
smbd: Remove "local_flags" from open_file()

This needs close review. I could not see where we were actually
referencing the original flags in a way that would not be available in
local_flags. The reason for this patch is that I want to pass in
vfs_open_how into open_file(), and the distinction between flags and
local_flags made this significantly harder to understand for me.

The only place where we really used both versions is the DBG_NOTICE in
the last hunk, and this will come back in the next patch.

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