VirtualBox

Changeset 77963 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Mar 30, 2019 1:57:51 AM (6 years ago)
Author:
vboxsync
Message:

linux/vboxsf: Added a ENOENT todo in vbsf_inode_setattr. bugref:9172

File:
1 edited

Legend:

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

    r77962 r77963  
    812812        /*
    813813         * Don't modify MTIME and CTIME for open(O_TRUNC) and ftruncate, those
    814          * operations will set those timestamps automatically.  Saves a host trip.
     814         * operations will set those timestamps automatically.  Saves a host call.
    815815         */
    816816        unsigned fAttrs = iattr->ia_valid;
     
    840840            size_t              cbReq;
    841841            SHFLHANDLE          hHostFile;
     842            /** @todo ATTR_FILE (2.6.15+) could be helpful here if we like. */
    842843            struct vbsf_handle *pHandle = fAttrs & ATTR_SIZE
    843844                                        ? vbsf_handle_find(sf_i, VBSF_HANDLE_F_WRITE, 0)
     
    872873                        } else {
    873874                            LogFunc(("file %s does not exist\n", sf_i->path->String.utf8));
    874                             /** @todo    */
     875                            vbsf_dentry_invalidate_ttl(pDirEntry);
     876                            sf_i->force_restat = true;
    875877                            rc = -ENOENT;
    876878                        }
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