VirtualBox

Changeset 26174 in vbox for trunk/src/VBox/Additions/linux


Ignore:
Timestamp:
Feb 2, 2010 9:33:21 PM (15 years ago)
Author:
vboxsync
Message:

Linux additions: fixed compilation against Linux kernels 2.6.24 ... 2.6.25

File:
1 edited

Legend:

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

    r26102 r26174  
    815815# if LINUX_VERSION_CODE >= KERNEL_VERSION (2, 6, 24)
    816816    rc = bdi_init(&sf_g->bdi);
     817#  if LINUX_VERSION_CODE >= KERNEL_VERSION (2, 6, 26)
    817818    if (!rc)
    818819        rc = bdi_register(&sf_g->bdi, NULL, "vboxvfs-%s", name);
     820#  endif /* >= 2.6.26 */
    819821# endif /* >= 2.6.24 */
    820822#endif /* >= 2.6.0 */
     
    825827{
    826828#if LINUX_VERSION_CODE >= KERNEL_VERSION (2, 6, 24)
    827     bdi_destroy(&sf_g->bdi);
    828 #endif
    829 }
     829    bdi_destroy(&sf_g->bdi); /* includes bdi_unregister() */
     830#endif
     831}
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