From 6df8709fc9879049e95176f72193aa255e1b1452 Mon Sep 17 00:00:00 2001 From: Samuel Cabrero Date: Mon, 10 May 2021 12:38:58 +0200 Subject: VFS: Add SMB_VFS_FREADDIR_ATTR() Signed-off-by: Samuel Cabrero Reviewed-by: Jeremy Allison --- source3/smbd/vfs.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'source3/smbd/vfs.c') diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c index 7b91499dc2c..15f989b43ee 100644 --- a/source3/smbd/vfs.c +++ b/source3/smbd/vfs.c @@ -2986,3 +2986,15 @@ NTSTATUS smb_vfs_call_readdir_attr(struct vfs_handle_struct *handle, VFS_FIND(readdir_attr); return handle->fns->readdir_attr_fn(handle, fname, mem_ctx, attr_data); } + +NTSTATUS smb_vfs_call_freaddir_attr(struct vfs_handle_struct *handle, + struct files_struct *fsp, + TALLOC_CTX *mem_ctx, + struct readdir_attr_data **attr_data) +{ + VFS_FIND(freaddir_attr); + return handle->fns->freaddir_attr_fn(handle, + fsp, + mem_ctx, + attr_data); +} -- cgit v1.2.1