Ignore:
Timestamp:
Nov 27, 2012, 4:43:17 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.0

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source3/modules/vfs_shadow_copy.c

    r414 r745  
    1919
    2020#include "includes.h"
     21
     22
    2123
    2224/*
     
    119121}
    120122
     123
     124
     125
     126
     127
     128
     129
     130
     131
     132
     133
     134
     135
     136
     137
     138
     139
     140
     141
     142
     143
     144
     145
     146
     147
     148
     149
     150
     151
     152
     153
     154
     155
     156
     157
     158
     159
     160
     161
     162
     163
     164
     165
     166
     167
     168
     169
     170
     171
     172
     173
     174
    121175static SMB_STRUCT_DIRENT *shadow_copy_readdir(vfs_handle_struct *handle,
    122176                                              SMB_STRUCT_DIR *_dirp,
     
    163217}
    164218
    165 static int shadow_copy_get_shadow_copy_data(vfs_handle_struct *handle, files_struct *fsp, SHADOW_COPY_DATA *shadow_copy_data, bool labels)
     219static int shadow_copy_get_shadow_copy_data(vfs_handle_struct *handle,
     220                                            files_struct *fsp,
     221                                            struct shadow_copy_data *shadow_copy_data,
     222                                            bool labels)
    166223{
    167224        SMB_STRUCT_DIR *p = SMB_VFS_NEXT_OPENDIR(handle,fsp->conn->connectpath,NULL,0);
     
    197254                }
    198255
    199                 tlabels = (SHADOW_COPY_LABEL *)TALLOC_REALLOC(shadow_copy_data->mem_ctx,
     256                tlabels = (SHADOW_COPY_LABEL *)TALLOC_REALLOC(shadow_copy_data,
    200257                                                                        shadow_copy_data->labels,
    201258                                                                        (shadow_copy_data->num_volumes+1)*sizeof(SHADOW_COPY_LABEL));
     
    217274static struct vfs_fn_pointers vfs_shadow_copy_fns = {
    218275        .opendir = shadow_copy_opendir,
     276
    219277        .readdir = shadow_copy_readdir,
    220278        .seekdir = shadow_copy_seekdir,
Note: See TracChangeset for help on using the changeset viewer.