VirtualBox

Ignore:
Timestamp:
Nov 25, 2019 12:30:05 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
134981
Message:

linux/vboxsf: Clarification. bugref:9172

File:
1 edited

Legend:

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

    r82166 r82171  
    439439#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 24) && LINUX_VERSION_CODE <= KERNEL_VERSION(4, 12, 0)
    440440    bdi_destroy(&pSuperInfo->bdi);    /* includes bdi_unregister() */
     441
     442    /* Paranoia: Make sb->s_bdi not point at pSuperInfo->bdi, in case someone
     443                 trouches it after this point (we may screw up something).  */
    441444# if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 0, 0) && LINUX_VERSION_CODE < KERNEL_VERSION(4, 2, 0)
    442445    sb->s_bdi = pSuperInfo->bdi_org; /* (noop_backing_dev_info is not exported) */
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