- 時間撮記:
- 2010-4-13 下午02:14:07 (15 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Additions/linux/sharedfolders/regops.c
r24350 r28253 271 271 } 272 272 273 /* Already open? */ 274 if (sf_i->handle != SHFL_HANDLE_NIL) 275 { 276 /* 277 * This inode was created with sf_create_aux(). Check the CreateFlags: 278 * O_CREAT, O_TRUNC: inherent true (file was just created). Not sure 279 * about the access flags (SHFL_CF_ACCESS_*). 280 */ 281 sf_i->force_restat = 1; 282 sf_r->handle = sf_i->handle; 283 sf_i->handle = SHFL_HANDLE_NIL; 284 sf_i->file = file; 285 file->private_data = sf_r; 286 return 0; 287 } 288 273 289 RT_ZERO(params); 274 290 params.Handle = SHFL_HANDLE_NIL; … … 328 344 329 345 params.Info.Attr.fMode = inode->i_mode; 330 LogFunc(("sf_reg_open: calling vboxCallCreate, file %s, flags=% d, %#x\n",346 LogFunc(("sf_reg_open: calling vboxCallCreate, file %s, flags=%#x, %#x\n", 331 347 sf_i->path->String.utf8 , file->f_flags, params.CreateFlags)); 332 348 rc = vboxCallCreate (&client_handle, &sf_g->map, sf_i->path, ¶ms); … … 382 398 kfree (sf_r); 383 399 sf_i->file = NULL; 400 sf_i->handle = SHFL_HANDLE_NIL; 384 401 file->private_data = NULL; 385 402 return 0;
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器