VirtualBox

Changeset 5016 in vbox for trunk/src


Ignore:
Timestamp:
Sep 24, 2007 7:51:31 PM (17 years ago)
Author:
vboxsync
Message:

Linux additions: properly initialize i_blkbits

File:
1 edited

Legend:

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

    r4909 r5016  
    9797#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) && !defined(KERNEL_FC6)
    9898        inode->i_blksize = 4096;
     99#endif
     100#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,11)
     101        inode->i_blkbits = 12;
    99102#endif
    100103        inode->i_blocks = (info->cbObject + 4095) / 4096;
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