summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-05-30 12:06:31 +0200
committerVolker Lendecke <vl@samba.org>2011-05-31 21:47:07 +0200
commit0ec9a90c29b86435f32c1d47d89df85fa51742f2 (patch)
treec3c135b20687152a69d20a234a0aebfbe4572743 /source3/smbd
parent5f6f71956460d6840c1433b59e20555268b622ac (diff)
downloadsamba-0ec9a90c29b86435f32c1d47d89df85fa51742f2.tar.gz
samba-0ec9a90c29b86435f32c1d47d89df85fa51742f2.tar.bz2
samba-0ec9a90c29b86435f32c1d47d89df85fa51742f2.zip
s3: Remove SHADOW_COPY_DATA typedef
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/nttrans.c5
-rw-r--r--source3/smbd/vfs.c2
2 files changed, 4 insertions, 3 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index 27ac26763c..1d0c9614a9 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -2214,7 +2214,7 @@ static void call_nt_transact_ioctl(connection_struct *conn,
* Allocate the correct amount and return the pointer to let
* it be deallocated when we return.
*/
- SHADOW_COPY_DATA *shadow_data = NULL;
+ struct shadow_copy_data *shadow_data = NULL;
TALLOC_CTX *shadow_mem_ctx = NULL;
bool labels = False;
uint32 labels_data_count = 0;
@@ -2243,7 +2243,8 @@ static void call_nt_transact_ioctl(connection_struct *conn,
return;
}
- shadow_data = TALLOC_ZERO_P(shadow_mem_ctx,SHADOW_COPY_DATA);
+ shadow_data = TALLOC_ZERO_P(shadow_mem_ctx,
+ struct shadow_copy_data);
if (shadow_data == NULL) {
DEBUG(0,("TALLOC_ZERO() failed!\n"));
talloc_destroy(shadow_mem_ctx);
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c
index e6ea34bd18..015fc56a78 100644
--- a/source3/smbd/vfs.c
+++ b/source3/smbd/vfs.c
@@ -1174,7 +1174,7 @@ int smb_vfs_call_set_quota(struct vfs_handle_struct *handle,
int smb_vfs_call_get_shadow_copy_data(struct vfs_handle_struct *handle,
struct files_struct *fsp,
- SHADOW_COPY_DATA *shadow_copy_data,
+ struct shadow_copy_data *shadow_copy_data,
bool labels)
{
VFS_FIND(get_shadow_copy_data);