VirtualBox

Changeset 77945 in vbox


Ignore:
Timestamp:
Mar 29, 2019 3:19:16 AM (6 years ago)
Author:
vboxsync
Message:

linux/vboxsf: Implemented our own .sendfile for 2.5.30 - 2.6.23 that does not muck around with the page cache unless there are writable mmap'ings of the file. This should be the final page cache issue I'm aware of. [build fix] bugref:9172

File:
1 edited

Legend:

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

    r77944 r77945  
    33713371    .splice_write    = vbsf_splice_write,
    33723372#endif
    3373 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 23)
     3373#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 30) && LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 23)
    33743374    .sendfile        = vbsf_reg_sendfile,
    33753375#endif
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