VirtualBox

Ignore:
Timestamp:
May 25, 2012 2:39:14 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
78185
Message:

Additions/linux/sharedfolders: we cannot work in RCU mode in d_revalidate

File:
1 edited

Legend:

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

    r39224 r41451  
    259259{
    260260    TRACE();
     261
     262#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 38)
     263    /* see Documentation/filesystems/vfs.txt */
     264    if (nd && nd->flags & LOOKUP_RCU)
     265        return -ECHILD;
     266#endif
     267
    261268    if (sf_inode_revalidate(dentry))
    262269        return 0;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette