VirtualBox

Changeset 83049 in vbox for trunk


Ignore:
Timestamp:
Feb 11, 2020 3:17:18 PM (5 years ago)
Author:
vboxsync
Message:

linux/vobxsf: Corrected kernel-page test in vbsf_iter_unlock_pages, as we should only do set_page_dirty for user pages from what I can tell.

File:
1 edited

Legend:

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

    r82968 r83049  
    20832083DECLINLINE(void) vbsf_iter_unlock_pages(struct iov_iter *iter, struct page **papPages, size_t cPages, bool fSetDirty)
    20842084{
    2085     /* We don't mark kernel pages dirty: */
    2086     if (iter->type & ITER_KVEC)
     2085    /* We don't mark kernel pages dirty (KVECs, BVECs, PIPEs): */
     2086    if (!iter_is_iovec(iter))
    20872087        fSetDirty = false;
    20882088
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