- Timestamp:
- Oct 25, 2010 8:19:36 PM (14 years ago)
- Location:
- trunk/src/VBox/Additions/linux/sharedfolders
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/sharedfolders/dirops.c
r33439 r33440 739 739 } 740 740 741 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) 741 742 static int sf_symlink(struct inode *parent, struct dentry *dentry, const char *symname) 742 743 { … … 799 800 return err; 800 801 } 802 #endif 801 803 802 804 struct inode_operations sf_dir_iops = -
trunk/src/VBox/Additions/linux/sharedfolders/lnkops.c
r33439 r33440 1 1 #include "vfsmod.h" 2 3 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) 2 4 3 5 static void *sf_follow_link(struct dentry *dentry, struct nameidata *nd) … … 38 40 .put_link = sf_put_link 39 41 }; 42 43 #endif -
trunk/src/VBox/Additions/linux/sharedfolders/utils.c
r33439 r33440 112 112 inode->i_nlink = 1; 113 113 } 114 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) 114 115 else if (RTFS_IS_SYMLINK(attr->fMode)) 115 116 { … … 120 121 inode->i_nlink = 1; 121 122 } 123 #endif 122 124 else 123 125 { -
trunk/src/VBox/Additions/linux/sharedfolders/vfsmod.c
r33439 r33440 472 472 #endif 473 473 474 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) 474 475 static int follow_symlinks = 0; 475 476 module_param(follow_symlinks, bool, 0); 476 477 MODULE_PARM_DESC(follow_symlinks, "Let host resolve symlinks rather than showing them"); 478 #endif 477 479 478 480 /* Module initialization/finalization handlers */ … … 526 528 } 527 529 530 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) 528 531 if (!follow_symlinks) 529 532 { … … 536 539 } 537 540 } 538 541 #endif 539 542 540 543 printk(KERN_DEBUG
Note:
See TracChangeset
for help on using the changeset viewer.