VirtualBox

Ignore:
Timestamp:
Oct 12, 2015 3:13:47 PM (9 years ago)
Author:
vboxsync
Message:

VBoxGuestR0LibSharedFolders: Prefixed functions ('vbox' wasn't a very good one). Hope I found all places these functions are called...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/darwin/vboxfs/VBoxVFS-VFSOps.cpp

    r57063 r58195  
    286286    if (pMount)
    287287    {
    288         rc = vboxCallMapFolder(&g_vboxSFClient, pMount->pShareName, &pMount->pMap);
     288        rc = VbglR0SfMapFolder(&g_vboxSFClient, pMount->pShareName, &pMount->pMap);
    289289        if (RT_SUCCESS(rc))
    290290        {
     
    302302            return 0;
    303303        }
    304         else
    305             PDEBUG("Unable to map shared folder");
    306 
     304
     305        PDEBUG("Unable to map shared folder");
    307306        vboxvfs_destroy_internal_data(&pMount);
    308307    }
     
    354353                vfs_setfsprivate(mp, NULL);
    355354
    356                 rc = vboxCallUnmapFolder(&g_vboxSFClient, &pMount->pMap);
     355                rc = VbglR0SfUnmapFolder(&g_vboxSFClient, &pMount->pMap);
    357356                if (RT_SUCCESS(rc))
    358357                {
     
    361360                    return 0;
    362361                }
    363                 else
    364                 {
    365                      PDEBUG("Unable to unmount shared folder");
    366                      rc = EPROTO;
    367                 }
     362
     363                PDEBUG("Unable to unmount shared folder");
     364                rc = EPROTO;
    368365            }
    369366            else
     
    518515    AssertReturn(pMount->pShareName, EINVAL);
    519516
    520     rc = vboxCallFSInfo(&g_vboxSFClient, &pMount->pMap, 0, SHFL_INFO_GET | SHFL_INFO_VOLUME,
    521                             &cbBuffer, (PSHFLDIRINFO)&SHFLVolumeInfo);
     517    rc = VbglR0SfFsInfo(&g_vboxSFClient, &pMount->pMap, 0, SHFL_INFO_GET | SHFL_INFO_VOLUME,
     518                        &cbBuffer, (PSHFLDIRINFO)&SHFLVolumeInfo);
    522519    AssertReturn(rc == 0, EPROTO);
    523520
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette