From: Noel Power Date: Wed, 28 Apr 2021 15:59:11 +0000 (+0100) Subject: s3: Remove vfs_streaminfo function X-Git-Tag: tevent-0.11.0~916 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=697dd7786288bdb2f2fb3d0a4ffcdc66c7521a1d;p=thirdparty%2Fsamba.git s3: Remove vfs_streaminfo function Signed-off-by: Noel Power Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index 05308393d64..1eb74628218 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -1329,12 +1329,6 @@ int vfs_stat_smb_basename(struct connection_struct *conn, const struct smb_filename *smb_fname_in, SMB_STRUCT_STAT *psbuf); NTSTATUS vfs_stat_fsp(files_struct *fsp); -NTSTATUS vfs_streaminfo(connection_struct *conn, - struct files_struct *fsp, - const struct smb_filename *smb_fname, - TALLOC_CTX *mem_ctx, - unsigned int *num_streams, - struct stream_struct **streams); NTSTATUS vfs_fstreaminfo(struct files_struct *fsp, TALLOC_CTX *mem_ctx, unsigned int *num_streams, diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c index 9108ef2c895..55a993feb4f 100644 --- a/source3/smbd/vfs.c +++ b/source3/smbd/vfs.c @@ -1576,22 +1576,6 @@ void init_smb_file_time(struct smb_file_time *ft) /** * Initialize num_streams and streams, then call VFS op streaminfo */ -NTSTATUS vfs_streaminfo(connection_struct *conn, - struct files_struct *fsp, - const struct smb_filename *smb_fname, - TALLOC_CTX *mem_ctx, - unsigned int *num_streams, - struct stream_struct **streams) -{ - *num_streams = 0; - *streams = NULL; - return SMB_VFS_STREAMINFO(conn, - fsp, - smb_fname, - mem_ctx, - num_streams, - streams); -} NTSTATUS vfs_fstreaminfo(struct files_struct *fsp, TALLOC_CTX *mem_ctx,