VirtualBox

Ignore:
Timestamp:
May 23, 2013 2:39:41 PM (12 years ago)
Author:
vboxsync
Message:

solaris/SharedFolders: Fix bug with truncating existing files on open. Avoids re-opening files during such a case for every read/write operation. Also avoid extra call through HGCM for each read-only file open operation.

File:
1 edited

Legend:

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

    r44528 r46237  
    5353        vnode_t         *sf_vnode;      /* vnode if active */
    5454        sfp_file_t      *sf_file;       /* non NULL if open */
     55    int                 sf_flag;    /* last opened file-mode. */
    5556        struct sfnode   *sf_parent;     /* parent sfnode of this one */
    5657        uint16_t        sf_children;    /* number of children sfnodes */
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