s2: VFS: default. Fix vfswrap_read_dfs_pathat() to use fsp_get_pathref_fd() not fsp_g...
authorJeremy Allison <jra@samba.org>
Mon, 12 Jul 2021 22:24:30 +0000 (15:24 -0700)
committerRalph Boehme <slow@samba.org>
Wed, 14 Jul 2021 08:09:31 +0000 (08:09 +0000)
commit106beab5bfe9b82b7af69842a828a18fa0da1b71
tree383295ea4f6a2a3ad088ffb58c9f3d76256a7c9b
parentcc6e433b1beb3e6a9641f28e97731d53c4ded744
s2: VFS: default. Fix vfswrap_read_dfs_pathat() to use fsp_get_pathref_fd() not fsp_get_io_fd().

We don't need an io fd here, and we only get away
with it as we have the assert above:

SMB_ASSERT(dirfsp == dirfsp->conn->cwd_fsp);

This will be removed next.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_default.c