Changeset 39841 in vbox for trunk/src/VBox/Additions/linux/sharedfolders/dirops.c
- Timestamp:
- Jan 23, 2012 5:40:50 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/sharedfolders/dirops.c
r39840 r39841 576 576 * @returns 0 on success, Linux error code otherwise 577 577 */ 578 #if LINUX_VERSION_CODE >= KERNEL_VERSION( 2, 6, 0)578 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 3, 0) 579 579 static 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) 581 static int sf_create(struct inode *parent, struct dentry *dentry, int mode, struct nameidata *nd) 580 582 #else 581 static int sf_create(struct inode *parent, struct dentry *dentry, umode_t mode)583 static int sf_create(struct inode *parent, struct dentry *dentry, int mode) 582 584 #endif 583 585 { … … 594 596 * @returns 0 on success, Linux error code otherwise 595 597 */ 598 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 3, 0) 596 599 static int sf_mkdir(struct inode *parent, struct dentry *dentry, umode_t mode) 600 #else 601 static int sf_mkdir(struct inode *parent, struct dentry *dentry, int mode) 602 #endif 597 603 { 598 604 TRACE();
Note:
See TracChangeset
for help on using the changeset viewer.