VirtualBox

Ignore:
Timestamp:
Aug 11, 2010 1:30:44 PM (14 years ago)
Author:
vboxsync
Message:

Additions/solaris/SharedFolders: fixed a panic, correct errors for EACCES and better error propagation.

File:
1 edited

Legend:

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

    r30527 r31566  
    341341        }
    342342
    343         /*
    344         * find an available minor device number for this mount
    345         */
    346         mutex_enter(&sffs_minor_lock);
    347         do {
    348                 sffs_minor = (sffs_minor + 1) & L_MAXMIN32;
    349                 dev = makedevice(sffs_major, sffs_minor);
     343        /*
     344        * find an available minor device number for this mount
     345        */
     346        mutex_enter(&sffs_minor_lock);
     347        do {
     348                sffs_minor = (sffs_minor + 1) & L_MAXMIN32;
     349                dev = makedevice(sffs_major, sffs_minor);
    350350        } while (vfs_devismounted(dev));
    351351        mutex_exit(&sffs_minor_lock);
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