VirtualBox

Ignore:
Timestamp:
Jan 23, 2012 5:40:50 PM (13 years ago)
Author:
vboxsync
Message:

d'oh!

File:
1 edited

Legend:

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

    r39840 r39841  
    576576 * @returns 0 on success, Linux error code otherwise
    577577 */
    578 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)
     578#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 3, 0)
    579579static int sf_create(struct inode *parent, struct dentry *dentry, umode_t mode, struct nameidata *nd)
     580#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)
     581static int sf_create(struct inode *parent, struct dentry *dentry, int mode, struct nameidata *nd)
    580582#else
    581 static int sf_create(struct inode *parent, struct dentry *dentry, umode_t mode)
     583static int sf_create(struct inode *parent, struct dentry *dentry, int mode)
    582584#endif
    583585{
     
    594596 * @returns 0 on success, Linux error code otherwise
    595597 */
     598#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 3, 0)
    596599static int sf_mkdir(struct inode *parent, struct dentry *dentry, umode_t mode)
     600#else
     601static int sf_mkdir(struct inode *parent, struct dentry *dentry, int mode)
     602#endif
    597603{
    598604    TRACE();
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