- 時間撮記:
- 2007-9-14 下午04:18:20 (17 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Additions/linux/sharedfolders/dirops.c
r4796 r4808 491 491 LogFunc(("(%d): vboxCallRemove(%s) failed rc=%Vrc\n", dirop, 492 492 path->String.utf8, rc)); 493 494 switch (rc) { 495 case VERR_PATH_NOT_FOUND: 496 err = -ENOENT; 497 break; 498 499 case VERR_DIR_NOT_EMPTY: 500 err = -ENOTEMPTY; 501 break; 502 503 default: 504 err = -EPROTO; 505 LogFunc(("(%d): vboxCallRemove(%s) failed rc=%Vrc\n", dirop, 506 path->String.utf8, rc)); 507 break; 508 } 493 err = -RTErrnoConvertFromErr(rc); 509 494 goto fail1; 510 495 } … … 576 561 } else { 577 562 LogFunc(("vboxCallRename failed rc=%Vrc\n", rc)); 578 switch (rc) { 579 /** @todo we need a function to convert VBox error 580 codes back to Linux. */ 581 case VERR_ACCESS_DENIED: 582 err = -EACCES; 583 break; 584 case VERR_DEV_IO_ERROR: 585 err = -EBUSY; 586 break; 587 case VERR_INVALID_POINTER: 588 err = -EFAULT; 589 break; 590 case VERR_FILE_NOT_FOUND: 591 case VERR_PATH_NOT_FOUND: 592 err = -ENOENT; 593 break; 594 default: 595 err = -EPROTO; 596 } 563 err = -RTErrnoConvertFromErr(err); 597 564 } 598 565 if (0 != err) {
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器