Changeset 66742 in vbox for trunk/src/VBox/Runtime/common/fs
- Timestamp:
- May 2, 2017 9:37:06 AM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 115148
- Location:
- trunk/src/VBox/Runtime/common/fs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/fs/fatvfs.cpp
r66736 r66742 29 29 * Header Files * 30 30 *********************************************************************************************************************************/ 31 #define LOG_GROUP RTLOGGROUP_FS 31 32 #include "internal/iprt.h" 32 33 #include <iprt/fsvfs.h> … … 37 38 #include <iprt/file.h> 38 39 #include <iprt/err.h> 40 #include <iprt/log.h> 39 41 #include <iprt/mem.h> 40 42 #include <iprt/path.h> … … 3651 3653 3652 3654 PRTFSFATDIR pNewDir; 3653 int rc = RTVfsNewDir(&g_rtFsFatDirOps, sizeof(*pNewDir), 0 /*fFlags*/, pThis->hVfsSelf, NIL_RTVFSLOCK /*use volume lock*/,3654 p hVfsDir, (void **)&pNewDir);3655 int rc = RTVfsNewDir(&g_rtFsFatDirOps, sizeof(*pNewDir), pParentDir ? 0 : RTVFSDIR_F_NO_VFS_REF, 3656 pThis->hVfsSelf, NIL_RTVFSLOCK /*use volume lock*/, phVfsDir, (void **)&pNewDir); 3655 3657 if (RT_SUCCESS(rc)) 3656 3658 { … … 3772 3774 { 3773 3775 PRTFSFATVOL pThis = (PRTFSFATVOL)pvThis; 3776 LogFlow(("rtFsFatVol_Close(%p)\n", pThis)); 3774 3777 int rc = rtFsFatClusterMap_Destroy(pThis); 3775 3778 -
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.