Changeset 745 for trunk/server/source3/modules/vfs_netatalk.c
- Timestamp:
- Nov 27, 2012, 4:43:17 PM (13 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 581,587,591,594,597,600,615,618,740
- Property svn:mergeinfo changed
-
trunk/server/source3/modules/vfs_netatalk.c
r429 r745 20 20 21 21 #include "includes.h" 22 #include "smbd/smbd.h" 23 #include "system/filesys.h" 22 24 23 25 #undef DBGC_CLASS … … 199 201 } 200 202 203 static SMB_STRUCT_DIR *atalk_fdopendir(struct vfs_handle_struct *handle, files_struct *fsp, const char *mask, uint32 attr) 204 { 205 SMB_STRUCT_DIR *ret = 0; 206 207 ret = SMB_VFS_NEXT_FDOPENDIR(handle, fsp, mask, attr); 208 209 if (ret == NULL) { 210 return ret; 211 } 212 213 /* 214 * when we try to perform delete operation upon file which has fork 215 * in ./.AppleDouble and this directory wasn't hidden by Samba, 216 * MS Windows explorer causes the error: "Cannot find the specified file" 217 * There is some workaround to avoid this situation, i.e. if 218 * connection has not .AppleDouble entry in either veto or hide 219 * list then it would be nice to add one. 220 */ 221 222 atalk_add_to_list(&handle->conn->hide_list); 223 atalk_add_to_list(&handle->conn->veto_list); 224 225 return ret; 226 } 227 201 228 static int atalk_rmdir(struct vfs_handle_struct *handle, const char *path) 202 229 { … … 433 460 static struct vfs_fn_pointers vfs_netatalk_fns = { 434 461 .opendir = atalk_opendir, 462 .fdopendir = atalk_fdopendir, 435 463 .rmdir = atalk_rmdir, 436 464 .rename = atalk_rename,
Note:
See TracChangeset
for help on using the changeset viewer.