VirtualBox

忽略:
時間撮記:
2012-1-4 下午10:44:40 (13 年 以前)
作者:
vboxsync
訊息:

Additions/linux/sharedfolders: make sure all data is written out when closing a file. Only use on kernels where it is available.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Additions/linux/sharedfolders/regops.c

    r39698 r39704  
    430430    BUG_ON(!sf_r);
    431431
     432#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 6)
    432433    /* See the smbfs source (file.c). mmap in particular can cause data to be
    433434     * written to the file after it is closed, which we can't cope with. */
    434435    filemap_write_and_wait(inode->i_mapping);
     436#endif
    435437    rc = vboxCallClose(&client_handle, &sf_g->map, sf_r->handle);
    436438    if (RT_FAILURE(rc))
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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