VirtualBox

Changeset 39698 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jan 3, 2012 10:22:59 PM (13 years ago)
Author:
vboxsync
Message:

Additions/linux/sharedfolders: make sure all data is written out when closing a file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/sharedfolders/regops.c

    r36359 r39698  
    430430    BUG_ON(!sf_r);
    431431
     432    /* See the smbfs source (file.c). mmap in particular can cause data to be
     433     * written to the file after it is closed, which we can't cope with. */
     434    filemap_write_and_wait(inode->i_mapping);
    432435    rc = vboxCallClose(&client_handle, &sf_g->map, sf_r->handle);
    433436    if (RT_FAILURE(rc))
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