Changeset 77963 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Mar 30, 2019 1:57:51 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/sharedfolders/utils.c
r77962 r77963 812 812 /* 813 813 * 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. 815 815 */ 816 816 unsigned fAttrs = iattr->ia_valid; … … 840 840 size_t cbReq; 841 841 SHFLHANDLE hHostFile; 842 /** @todo ATTR_FILE (2.6.15+) could be helpful here if we like. */ 842 843 struct vbsf_handle *pHandle = fAttrs & ATTR_SIZE 843 844 ? vbsf_handle_find(sf_i, VBSF_HANDLE_F_WRITE, 0) … … 872 873 } else { 873 874 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; 875 877 rc = -ENOENT; 876 878 }
Note:
See TracChangeset
for help on using the changeset viewer.