- Timestamp:
- Aug 11, 2020 12:48:15 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/sharedfolders/regops.c
r85687 r85689 1431 1431 DECLINLINE(int) vbsf_lock_user_pages(uintptr_t uPtrFrom, size_t cPages, bool fWrite, struct page **papPages, bool *pfLockPgHack) 1432 1432 { 1433 # if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0) 1433 # if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0) \ 1434 || ( defined(CONFIG_SUSE_KERNEL) /** @todo Figure out when exactly. Also, guessing a bit here what got backported. */ \ 1435 && LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 73) \ 1436 && LINUX_VERSION_CODE < KERNEL_VERSION(4, 5, 0)) 1434 1437 ssize_t cPagesLocked = get_user_pages_unlocked(uPtrFrom, cPages, papPages, 1435 1438 fWrite ? FOLL_WRITE | FOLL_FORCE : FOLL_FORCE); … … 3731 3734 * I/O requests if we don't intercept them earlier. 3732 3735 */ 3733 # if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 7, 0) 3736 # if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 7, 0) \ 3737 || (defined(CONFIG_SUSE_KERNEL) && LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 73) && LINUX_VERSION_CODE < KERNEL_VERSION(4, 5, 0)) /** @todo Figure out when exactly. */ 3734 3738 static ssize_t vbsf_direct_IO(struct kiocb *iocb, struct iov_iter *iter) 3735 3739 # elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 1, 0)
Note:
See TracChangeset
for help on using the changeset viewer.