VirtualBox

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


Ignore:
Timestamp:
May 25, 2012 2:30:19 PM (13 years ago)
Author:
vboxsync
Message:

Additions/linux/sharedfolders: Linux >= 2.6.38 fix

File:
1 edited

Legend:

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

    r39841 r41449  
    383383    sf_i->force_restat = 0;
    384384    dentry->d_time = jiffies;
     385#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 38)
     386    d_set_d_op(dentry, &sf_dentry_ops);
     387#else
    385388    dentry->d_op = &sf_dentry_ops;
     389#endif
    386390    d_add(dentry, inode);
    387391    return NULL;
     
    447451
    448452    dentry->d_time = jiffies;
     453#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 38)
     454    d_set_d_op(dentry, &sf_dentry_ops);
     455#else
    449456    dentry->d_op = &sf_dentry_ops;
     457#endif
    450458    sf_new_i->force_restat = 1;
    451459
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