smbd: remove fsp->dirfsp
authorRalph Boehme <slow@samba.org>
Fri, 2 Oct 2020 14:51:16 +0000 (16:51 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 2 Oct 2020 19:39:44 +0000 (19:39 +0000)
commit1c444f9c37c01f986cbe880f0a6d4abdd8c34a0b
tree6a48baedf2eed14f0aea8f31da492193678e49c7
parentb133b81d8d18b998ee8e01ef034732c36169bf98
smbd: remove fsp->dirfsp

This was supposed to be a shortcut to avoid passing dirfsp around as an explicit
function argument throughout the whole codebase when the new VFS design idea was
based on using *AT functions throughout the VFS.

Now that we've opted for basing the VFS on handles and *AT functions will only
be used in a much more limitted extent, it makes sense to remove this internal
dirfsp reference, otherwise the combination of internal fsp->dirfsp and
smb_fname->fsp is going to be a tough to wrap your head around.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/include/vfs.h
source3/lib/filename_util.c
source3/smbd/close.c
source3/smbd/durable.c
source3/smbd/open.c