Changeset 20298 in vbox for trunk/src/VBox/Additions/linux/sharedfolders
- Timestamp:
- Jun 5, 2009 8:08:52 AM (16 years ago)
- Location:
- trunk/src/VBox/Additions/linux/sharedfolders
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/sharedfolders/dirops.c
r13837 r20298 43 43 } 44 44 45 memset(¶ms, 0, sizeof(params)); 46 45 47 sf_d = sf_dir_info_alloc (); 46 48 … … 406 408 dentry->d_name.name); 407 409 #endif 410 411 memset(¶ms, 0, sizeof(params)); 408 412 409 413 params.CreateFlags = 0 -
trunk/src/VBox/Additions/linux/sharedfolders/regops.c
r16466 r20298 210 210 BUG_ON (!sf_i); 211 211 212 LogFunc(("open %s\n", sf_i->path->String.utf8)); 213 212 214 sf_r = kmalloc (sizeof (*sf_r), GFP_KERNEL); 213 215 if (!sf_r) { … … 216 218 } 217 219 218 LogFunc(("open %s\n", sf_i->path->String.utf8)); 219 220 params.CreateFlags = 0; 221 params.Info.cbObject = 0; 222 /* We check this afterwards to find out if the call succeeded 223 or failed, as the API does not seem to cleanly distinguish 224 error and informational messages. */ 225 params.Handle = 0; 220 memset(¶ms, 0, sizeof(params)); 221 /* params.Handle is now 0. We check this afterwards to find out if 222 * the call succeeded or failed, as the API does not seem to cleanly 223 * distinguish error and informational messages. */ 226 224 227 225 if (file->f_flags & O_CREAT) { -
trunk/src/VBox/Additions/linux/sharedfolders/utils.c
r15819 r20298 153 153 154 154 TRACE (); 155 156 memset(¶ms, 0, sizeof(params)); 155 157 params.CreateFlags = SHFL_CF_LOOKUP | SHFL_CF_ACT_FAIL_IF_NEW; 156 158 LogFunc(("calling vboxCallCreate, file %s, flags %#x\n",
Note:
See TracChangeset
for help on using the changeset viewer.