VirtualBox

Changeset 38846 in vbox


Ignore:
Timestamp:
Sep 23, 2011 1:18:42 PM (13 years ago)
Author:
vboxsync
Message:

Additions/solaris/SharedFolders: fixed ref. counting resulting in panic during unmount.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/solaris/SharedFolders/vboxfs_vnode.c

    r38166 r38846  
    211211                vp->v_type = node->sf_type;
    212212                vp->v_vfsp = node->sf_sffs->sf_vfsp;
    213                 VFS_HOLD(vp->v_vfsp);
    214213                vn_setops(vp, sffs_ops);
    215214                vp->v_flag = VNOSWAP | VNOMAP;  /* @todo -XXX- remove VNOMAP when ro-mmap is working*/
     
    247246        node = kmem_alloc(sizeof (*node), KM_SLEEP);
    248247        node->sf_sffs = sffs;
     248        VFS_HOLD(node->sf_sffs->sf_vfsp);
    249249        node->sf_path = path;
    250250        node->sf_ino = sffs->sf_ino++;
     
    14571457
    14581458
    1459 #if 0
     1459#if 1
    14601460static caddr_t
    14611461sffs_page_map(
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