From fe50632d54b7946bf7d7ca776d41aaaf657c895a Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 16 Dec 2010 16:42:33 -0800 Subject: file_set_sparse needs to be a handle based call. --- source3/include/proto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index 53c1f5d370..9583388362 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -4621,7 +4621,7 @@ uint32 dos_mode(connection_struct *conn, struct smb_filename *smb_fname); int file_set_dosmode(connection_struct *conn, struct smb_filename *smb_fname, uint32 dosmode, const char *parent_dir, bool newfile); NTSTATUS file_set_sparse(connection_struct *conn, - struct smb_filename *smb_fname, + struct files_struct *fsp, bool sparse); int file_ntimes(connection_struct *conn, const struct smb_filename *smb_fname, struct smb_file_time *ft); -- cgit