VirtualBox

Changeset 109107 in vbox


Ignore:
Timestamp:
Apr 29, 2025 1:15:43 PM (10 days ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
168657
Message:

Additions: Linux: vboxsf: Align with upstream vboxsf changes from kernel 6.15, bugref:10891.

This commit also prevents the following kernel warning:

WARNING: CPU: 3 PID: 47621 at fs/dcache.c:819 dput+0x1ad/0x1c0

File:
1 edited

Legend:

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

    r108894 r109107  
    11021102{
    11031103    int rc;
    1104 #if RTLNX_VER_MIN(6,15,0)
    1105     /* In 6.15, we need to take a reference to the resulting dentry. */
    1106     bool fDoLookup = true;
    1107 #else
    1108     bool fDoLookup = false;
    1109 #endif
    11101104
    11111105    TRACE();
     
    11171111                            | SHFL_CF_ACCESS_READWRITE
    11181112                            | SHFL_CF_DIRECTORY,
    1119                             false /*fStashHandle*/, fDoLookup, NULL /*phHandle*/, NULL /*fCreated*/);
     1113                            false /*fStashHandle*/, false /*fDoLookup*/, NULL /*phHandle*/, NULL /*fCreated*/);
    11201114#if RTLNX_VER_MIN(6,15,0)
    1121     return RT_SUCCESS(rc) ? dentry : ERR_PTR(rc);
     1115    return ERR_PTR(rc);
    11221116#else
    11231117    return rc;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette