Changeset 107165 in vbox
- Timestamp:
- Nov 27, 2024 11:59:47 AM (7 weeks ago)
- Location:
- trunk/src/VBox/Additions/linux/sharedfolders
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/sharedfolders/dirops.c
r106061 r107165 1047 1047 * @returns 0 on success, Linux error code otherwise 1048 1048 */ 1049 #if RTLNX_VER_MIN(6,3,0) || defined(DOXYGEN_RUNNING)1049 #if RTLNX_VER_MIN(6,3,0) || RTLNX_RHEL_RANGE(9,6, 9,99) || defined(DOXYGEN_RUNNING) 1050 1050 static int vbsf_inode_create(struct mnt_idmap *idmap, struct inode *parent, struct dentry *dentry, umode_t mode, bool excl) 1051 1051 #elif RTLNX_VER_MIN(5,12,0) … … 1089 1089 * @returns 0 on success, Linux error code otherwise 1090 1090 */ 1091 #if RTLNX_VER_MIN(6,3,0) || defined(DOXYGEN_RUNNING)1091 #if RTLNX_VER_MIN(6,3,0) || RTLNX_RHEL_RANGE(9,6, 9,99) || defined(DOXYGEN_RUNNING) 1092 1092 static int vbsf_inode_mkdir(struct mnt_idmap *idmap, struct inode *parent, struct dentry *dentry, umode_t mode) 1093 1093 #elif RTLNX_VER_MIN(5,12,0) … … 1206 1206 * @returns 0 on success, Linux error code otherwise 1207 1207 */ 1208 #if RTLNX_VER_MIN(6,3,0) || defined(DOXYGEN_RUNNING)1208 #if RTLNX_VER_MIN(6,3,0) || RTLNX_RHEL_RANGE(9,6, 9,99) || defined(DOXYGEN_RUNNING) 1209 1209 static int vbsf_inode_rename(struct mnt_idmap *idmap, 1210 1210 struct inode *old_parent, struct dentry *old_dentry, … … 1322 1322 * Create a symbolic link. 1323 1323 */ 1324 #if RTLNX_VER_MIN(6,3,0) 1324 #if RTLNX_VER_MIN(6,3,0) || RTLNX_RHEL_RANGE(9,6, 9,99) 1325 1325 static int vbsf_inode_symlink(struct mnt_idmap *idmap, struct inode *parent, struct dentry *dentry, const char *target) 1326 1326 #elif RTLNX_VER_MIN(5,12,0) -
trunk/src/VBox/Additions/linux/sharedfolders/utils.c
r106061 r107165 725 725 [generic_fillattr] */ 726 726 #if RTLNX_VER_MIN(2,5,18) 727 # if RTLNX_VER_MIN(6,3,0) 727 # if RTLNX_VER_MIN(6,3,0) || RTLNX_RHEL_RANGE(9,6, 9,99) 728 728 int vbsf_inode_getattr(struct mnt_idmap *idmap, const struct path *path, 729 729 struct kstat *kstat, u32 request_mask, unsigned int flags) … … 773 773 # if RTLNX_VER_MIN(6,6,0) 774 774 generic_fillattr(idmap, request_mask, dentry->d_inode, kstat); 775 # elif RTLNX_VER_MIN(6,3,0) 775 # elif RTLNX_VER_MIN(6,3,0) || RTLNX_RHEL_RANGE(9,6, 9,99) 776 776 generic_fillattr(idmap, dentry->d_inode, kstat); 777 777 # elif RTLNX_VER_MIN(5,12,0) … … 825 825 * Modify inode attributes. 826 826 */ 827 #if RTLNX_VER_MIN(6,3,0) 827 #if RTLNX_VER_MIN(6,3,0) || RTLNX_RHEL_RANGE(9,6, 9,99) 828 828 int vbsf_inode_setattr(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *iattr) 829 829 #elif RTLNX_VER_MIN(5,12,0) … … 851 851 iattr->ia_valid |= ATTR_FORCE; 852 852 #if (RTLNX_VER_RANGE(3,16,39, 3,17,0)) || RTLNX_VER_MIN(4,9,0) || (RTLNX_VER_RANGE(4,1,37, 4,2,0)) || RTLNX_UBUNTU_ABI_MIN(4,4,255,208) 853 # if RTLNX_VER_MIN(6,3,0) 853 # if RTLNX_VER_MIN(6,3,0) || RTLNX_RHEL_RANGE(9,6, 9,99) 854 854 rc = setattr_prepare(idmap, dentry, iattr); 855 855 # elif RTLNX_VER_MIN(5,12,0) -
trunk/src/VBox/Additions/linux/sharedfolders/vfsmod.h
r106061 r107165 266 266 extern int vbsf_inode_revalidate_with_handle(struct dentry *dentry, SHFLHANDLE hHostFile, bool fForced, bool fInodeLocked); 267 267 #if RTLNX_VER_MIN(2,5,18) 268 # if RTLNX_VER_MIN(6,3,0) 268 # if RTLNX_VER_MIN(6,3,0) || RTLNX_RHEL_RANGE(9,6, 9,99) 269 269 extern int vbsf_inode_getattr(struct mnt_idmap *idmap, const struct path *path, 270 270 struct kstat *kstat, u32 request_mask, unsigned int query_flags); … … 280 280 extern int vbsf_inode_revalidate(struct dentry *dentry); 281 281 #endif /* < 2.5.44 */ 282 #if RTLNX_VER_MIN(6,3,0) 282 #if RTLNX_VER_MIN(6,3,0) || RTLNX_RHEL_RANGE(9,6, 9,99) 283 283 extern int vbsf_inode_setattr(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *iattr); 284 284 #elif RTLNX_VER_MIN(5,12,0)
Note:
See TracChangeset
for help on using the changeset viewer.