VirtualBox

Ignore:
Timestamp:
Aug 23, 2019 11:59:18 AM (5 years ago)
Author:
vboxsync
Message:

linux/vboxsf: ticketref:18737: Linux guests: open(filename, O_CREAT|..., mode) fails inside shared folder

File:
1 edited

Legend:

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

    r78135 r80393  
    804804    int                     rc;
    805805
     806    if (pfCreated)
     807       *pfCreated = false;
     808
    806809    AssertReturn(sf_parent_i, -EINVAL);
    807810    AssertReturn(pSuperInfo, -EINVAL);
     
    862865                            pReq->Create.CreateParms.Handle = SHFL_HANDLE_NIL;
    863866                        }
     867                        if (pfCreated)
     868                            *pfCreated = pReq->Create.CreateParms.Result == SHFL_FILE_CREATED;
    864869                        if (fDoLookup)
    865870                            vbsf_d_add_inode(dentry, pNewInode);
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