Changeset 78134 in vbox for trunk/src/VBox
- Timestamp:
- Apr 16, 2019 12:31:43 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/sharedfolders/dirops.c
r77961 r78134 692 692 pReq->CreateParms.CreateFlags = SHFL_CF_LOOKUP | SHFL_CF_ACT_FAIL_IF_NEW; 693 693 694 LogFunc(("Calling VbglR0SfHostReqCreate on %s\n", path->String.utf8));694 SFLOG2(("vbsf_inode_lookup: Calling VbglR0SfHostReqCreate on %s\n", path->String.utf8)); 695 695 rc = VbglR0SfHostReqCreate(pSuperInfo->map.root, pReq); 696 696 if (RT_SUCCESS(rc)) { … … 715 715 } 716 716 } else if (rc == VERR_INVALID_NAME) { 717 SFLOGFLOW(("vbsf_inode_lookup: VERR_INVALID_NAME\n")); 717 718 dret = dentry; /* this can happen for names like 'foo*' on a Windows host */ 719 } else if (rc == VERR_FILENAME_TOO_LONG) { 720 SFLOG(("vbsf_inode_lookup: VbglR0SfHostReqCreate failed on %s: VERR_FILENAME_TOO_LONG\n", path->String.utf8)); 721 dret = (struct dentry *)ERR_PTR(-ENAMETOOLONG); 718 722 } else { 719 LogFunc(("VbglR0SfHostReqCreate failed on %s: %Rrc\n", path->String.utf8, rc));723 SFLOG(("vbsf_inode_lookup: VbglR0SfHostReqCreate failed on %s: %Rrc\n", path->String.utf8, rc)); 720 724 dret = (struct dentry *)ERR_PTR(-EPROTO); 721 725 } … … 731 735 dret = NULL; 732 736 } 733 } else 737 } else { 738 SFLOGFLOW(("vbsf_inode_lookup: -ENOMEM (phys heap)\n")); 734 739 dret = (struct dentry *)ERR_PTR(-ENOMEM); 740 } 735 741 if (path) 736 742 kfree(path); 737 } else 743 } else { 744 SFLOG(("vbsf_inode_lookup: vbsf_path_from_dentry failed: %d\n", rc)); 738 745 dret = (struct dentry *)ERR_PTR(rc); 746 } 739 747 return dret; 740 748 }
Note:
See TracChangeset
for help on using the changeset viewer.