VirtualBox

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


Ignore:
Timestamp:
Nov 4, 2016 12:15:15 PM (8 years ago)
Author:
vboxsync
Message:

Additions/linux/sharedfolders: fix for Linux 4.9

File:
1 edited

Legend:

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

    r62527 r64562  
    749749 */
    750750static int sf_rename(struct inode *old_parent, struct dentry *old_dentry,
    751                      struct inode *new_parent, struct dentry *new_dentry)
     751                     struct inode *new_parent, struct dentry *new_dentry
     752#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0)
     753                     , unsigned flags
     754#endif
     755                     )
    752756{
    753757    int err = 0, rc = VINF_SUCCESS;
     
    755759
    756760    TRACE();
     761
     762#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0)
     763    if (flags)
     764    {
     765        LogFunc(("rename with flags=%x\n", flags));
     766        return -EINVAL;
     767    }
     768#endif
    757769
    758770    if (sf_g != GET_GLOB_INFO(new_parent->i_sb))
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