VirtualBox

Changeset 107165 in vbox


Ignore:
Timestamp:
Nov 27, 2024 11:59:47 AM (7 weeks ago)
Author:
vboxsync
Message:

Additions: Linux: vboxsf: Introduce initial support for RHEL 9.6 kernel, bugref:10381.

Location:
trunk/src/VBox/Additions/linux/sharedfolders
Files:
3 edited

Legend:

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

    r106061 r107165  
    10471047 * @returns 0 on success, Linux error code otherwise
    10481048 */
    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)
    10501050static int vbsf_inode_create(struct mnt_idmap *idmap, struct inode *parent, struct dentry *dentry, umode_t mode, bool excl)
    10511051#elif RTLNX_VER_MIN(5,12,0)
     
    10891089 * @returns 0 on success, Linux error code otherwise
    10901090 */
    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)
    10921092static int vbsf_inode_mkdir(struct mnt_idmap *idmap, struct inode *parent, struct dentry *dentry, umode_t mode)
    10931093#elif RTLNX_VER_MIN(5,12,0)
     
    12061206 * @returns 0 on success, Linux error code otherwise
    12071207 */
    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)
    12091209static int vbsf_inode_rename(struct mnt_idmap *idmap,
    12101210                             struct inode *old_parent, struct dentry *old_dentry,
     
    13221322 * Create a symbolic link.
    13231323 */
    1324 #if RTLNX_VER_MIN(6,3,0)
     1324#if RTLNX_VER_MIN(6,3,0) || RTLNX_RHEL_RANGE(9,6, 9,99)
    13251325static int vbsf_inode_symlink(struct mnt_idmap *idmap, struct inode *parent, struct dentry *dentry, const char *target)
    13261326#elif RTLNX_VER_MIN(5,12,0)
  • trunk/src/VBox/Additions/linux/sharedfolders/utils.c

    r106061 r107165  
    725725   [generic_fillattr] */
    726726#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)
    728728int vbsf_inode_getattr(struct mnt_idmap *idmap, const struct path *path,
    729729                       struct kstat *kstat, u32 request_mask, unsigned int flags)
     
    773773# if RTLNX_VER_MIN(6,6,0)
    774774        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)
    776776        generic_fillattr(idmap, dentry->d_inode, kstat);
    777777# elif RTLNX_VER_MIN(5,12,0)
     
    825825 * Modify inode attributes.
    826826 */
    827 #if RTLNX_VER_MIN(6,3,0)
     827#if RTLNX_VER_MIN(6,3,0) || RTLNX_RHEL_RANGE(9,6, 9,99)
    828828int vbsf_inode_setattr(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *iattr)
    829829#elif RTLNX_VER_MIN(5,12,0)
     
    851851    iattr->ia_valid |= ATTR_FORCE;
    852852#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)
    854854    rc = setattr_prepare(idmap, dentry, iattr);
    855855# elif RTLNX_VER_MIN(5,12,0)
  • trunk/src/VBox/Additions/linux/sharedfolders/vfsmod.h

    r106061 r107165  
    266266extern int  vbsf_inode_revalidate_with_handle(struct dentry *dentry, SHFLHANDLE hHostFile, bool fForced, bool fInodeLocked);
    267267#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)
    269269extern int  vbsf_inode_getattr(struct mnt_idmap *idmap, const struct path *path,
    270270                               struct kstat *kstat, u32 request_mask, unsigned int query_flags);
     
    280280extern int  vbsf_inode_revalidate(struct dentry *dentry);
    281281#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)
    283283extern int  vbsf_inode_setattr(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *iattr);
    284284#elif RTLNX_VER_MIN(5,12,0)
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