smbd: pass a dirfsp to fd_open() and rename it to fd_openat()
authorRalph Boehme <slow@samba.org>
Tue, 13 Oct 2020 12:38:28 +0000 (14:38 +0200)
committerRalph Boehme <slow@samba.org>
Wed, 16 Dec 2020 09:08:30 +0000 (09:08 +0000)
commitabc00b959be9ba5e6ca7535405866d771e76bfb3
tree29b685e0df99f56f1e1228f2eccb7ca68831b756
parenta272ca549fc7d2e935c3d3a103f3bd3f65b1960e
smbd: pass a dirfsp to fd_open() and rename it to fd_openat()

For now no change in behaviour as all callers still pass conn->cwd_fsp. This
just prepared fd_openat() to deal with real dirfsp's pass by callers later on
when adding calls to fd_openat(dirfspm ...) in the directory enumeration loop.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/durable.c
source3/smbd/files.c
source3/smbd/open.c
source3/smbd/proto.h
source3/smbd/smb2_query_directory.c