VirtualBox

Changeset 78890 in vbox


Ignore:
Timestamp:
May 31, 2019 9:43:51 AM (6 years ago)
Author:
vboxsync
Message:

linux/vboxsf: Fixed incorrect version range for calling bdi_destroy() in vbsf_done_backing_dev. Would cause crashes during system shutdown on kernel versions 3.20 thru 4.12. bugref:9172

File:
1 edited

Legend:

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

    r78204 r78890  
    424424static void vbsf_done_backing_dev(struct super_block *sb, struct vbsf_super_info *pSuperInfo)
    425425{
    426 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 24) && LINUX_VERSION_CODE <= KERNEL_VERSION(3, 19, 0)
     426#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 24) && LINUX_VERSION_CODE <= KERNEL_VERSION(4, 12, 0)
    427427    bdi_destroy(&pSuperInfo->bdi);    /* includes bdi_unregister() */
    428428#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