Changeset 66742 in vbox for trunk/src/VBox/Runtime/common/fs/iso9660vfs.cpp
- Timestamp:
- May 2, 2017 9:37:06 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/fs/iso9660vfs.cpp
r66736 r66742 918 918 { 919 919 RT_NOREF(pvThis, pszSubDir, fMode, phVfsDir); 920 RTAssertMsg2("%s: %s\n", __FUNCTION__, pszSubDir); 921 return VERR_NOT_IMPLEMENTED; 920 return VERR_WRITE_PROTECT; 922 921 } 923 922 … … 941 940 { 942 941 RT_NOREF(pvThis, pszSymlink, pszTarget, enmType, phVfsSymlink); 943 RTAssertMsg2("%s: %s\n", __FUNCTION__, pszSymlink); 944 return VERR_NOT_SUPPORTED; 942 return VERR_WRITE_PROTECT; 945 943 } 946 944 … … 952 950 { 953 951 RT_NOREF(pvThis, pszEntry, fType); 954 RTAssertMsg2("%s: %s\n", __FUNCTION__, pszEntry); 955 return VERR_NOT_IMPLEMENTED; 952 return VERR_WRITE_PROTECT; 956 953 } 957 954 … … 972 969 */ 973 970 static DECLCALLBACK(int) rtFsIso9660Dir_ReadDir(void *pvThis, PRTDIRENTRYEX pDirEntry, size_t *pcbDirEntry, 974 RTFSOBJATTRADD enmAddAttr)971 RTFSOBJATTRADD enmAddAttr) 975 972 { 976 973 RT_NOREF(pvThis, pDirEntry, pcbDirEntry, enmAddAttr); … … 1190 1187 1191 1188 PRTFSISO9660DIR pNewDir; 1192 int rc = RTVfsNewDir(&g_rtFsIso9660DirOps, sizeof(*pNewDir), 0 /*fFlags*/, pThis->hVfsSelf, NIL_RTVFSLOCK /*use volume lock*/,1193 p hVfsDir, (void **)&pNewDir);1189 int rc = RTVfsNewDir(&g_rtFsIso9660DirOps, sizeof(*pNewDir), pParentDir ? 0 : RTVFSDIR_F_NO_VFS_REF, 1190 pThis->hVfsSelf, NIL_RTVFSLOCK /*use volume lock*/, phVfsDir, (void **)&pNewDir); 1194 1191 if (RT_SUCCESS(rc)) 1195 1192 { … … 1241 1238 { 1242 1239 PRTFSISO9660VOL pThis = (PRTFSISO9660VOL)pvThis; 1243 Log Flow(("rtFsIso9660Vol_Close(%p)\n", pThis));1240 Log(("rtFsIso9660Vol_Close(%p)\n", pThis)); 1244 1241 1245 1242 if (pThis->hVfsRootDir != NIL_RTVFSDIR)
Note:
See TracChangeset
for help on using the changeset viewer.