VirtualBox

Changeset 39840 in vbox for trunk/src/VBox


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

more Linux 3.3 fixes

Location:
trunk/src/VBox
Files:
3 edited

Legend:

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

    r38447 r39840  
    478478 */
    479479static int sf_create_aux(struct inode *parent, struct dentry *dentry,
    480                          int mode, int fDirectory)
     480                         umode_t mode, int fDirectory)
    481481{
    482482    int rc, err;
     
    576576 * @returns 0 on success, Linux error code otherwise
    577577 */
    578 static int sf_create(struct inode *parent, struct dentry *dentry, int mode
    579578#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)
    580                    , struct nameidata *nd
     579static int sf_create(struct inode *parent, struct dentry *dentry, umode_t mode, struct nameidata *nd)
     580#else
     581static int sf_create(struct inode *parent, struct dentry *dentry, umode_t mode)
    581582#endif
    582                     )
    583583{
    584584    TRACE();
     
    594594 * @returns 0 on success, Linux error code otherwise
    595595 */
    596 static int sf_mkdir(struct inode *parent, struct dentry *dentry, int mode)
     596static int sf_mkdir(struct inode *parent, struct dentry *dentry, umode_t mode)
    597597{
    598598    TRACE();
  • trunk/src/VBox/Additions/linux/sharedfolders/vfsmod.c

    r39788 r39840  
    527527#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)
    528528static int follow_symlinks = 0;
    529 module_param(follow_symlinks, bool, 0);
     529module_param(follow_symlinks, int, 0);
    530530MODULE_PARM_DESC(follow_symlinks, "Let host resolve symlinks rather than showing them");
    531531#endif
  • trunk/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h

    r39829 r39840  
    318318#undef bool
    319319
     320#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 3, 0)
     321typedef int umode_t
     322#endif
     323
    320324/*
    321325 * There are post-2.6.24 kernels (confusingly with unchanged version number)
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