VirtualBox

Ignore:
Timestamp:
Apr 19, 2008 8:27:39 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
29904
Message:

Additions/FreeBSD: Cleanup, rename variables to follow coding guidlines, removed session hash table and use device cloning instead

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/freebsd/vboxvfs/vboxvfs_vfsops.c

    r8155 r8188  
    7171MODULE_DEPEND(vboxvfs, vboxguest, 1, 1, 1);
    7272
    73 static int
    74 vboxvfs_cmount(struct mntarg *ma, void * data, int flags, struct thread *td)
     73static int vboxvfs_cmount(struct mntarg *ma, void * data, int flags, struct thread *td)
    7574{
    7675    struct vboxvfs_mount_info args;
     
    213212}
    214213
    215 static int vboxvfs_quotactl(mp, cmd, uid, arg, td)
    216         struct mount *mp;
    217         int cmd;
    218         uid_t uid;
    219         void *arg;
    220         struct thread *td;
     214static int vboxvfs_quotactl(struct mount *mp, int cmd, uid_t uid, void *arg, struct thread *td)
    221215{
    222216    return EOPNOTSUPP;
     
    230224    rc = vboxInit();
    231225    if (VBOX_FAILURE(rc))
    232         return ENXIO;
     226        return ENXIO;
    233227
    234228    /* Connect to the host service. */
     
    236230    if (VBOX_FAILURE(rc))
    237231    {
    238         printf("Failed to get connection to host! rc=%d\n", rc);
    239         vboxUninit();
    240         return ENXIO;
     232        printf("Failed to get connection to host! rc=%d\n", rc);
     233        vboxUninit();
     234        return ENXIO;
    241235    }
    242236
     
    245239    {
    246240        printf("vboxCallSetUtf8 failed, rc=%d\n", rc);
    247         vboxDisconnect(&g_vboxSFClient);
    248         vboxUninit();
    249         return EPROTO;
     241        vboxDisconnect(&g_vboxSFClient);
     242        vboxUninit();
     243        return EPROTO;
    250244    }
    251245
Note: See TracChangeset for help on using the changeset viewer.

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