Changeset 95411 in vbox for trunk/src/VBox/Additions/linux
- Timestamp:
- Jun 28, 2022 6:50:10 PM (2 years ago)
- Location:
- trunk/src/VBox/Additions/linux
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/vbox_ttm.c
r95211 r95411 796 796 { 797 797 struct drm_file *file_priv; 798 struct vbox_private *vbox;799 798 int ret = -EINVAL; 800 799 … … 803 802 804 803 file_priv = filp->private_data; 805 vbox = file_priv->minor->dev->dev_private;806 804 807 805 #if RTLNX_VER_MIN(5,14,0) || RTLNX_RHEL_RANGE(8,6, 8,99) … … 810 808 ret = drm_gem_mmap(filp, vma); 811 809 #else 812 ret = ttm_bo_mmap(filp, vma, & vbox->ttm.bdev);810 ret = ttm_bo_mmap(filp, vma, &file_priv->minor->dev->dev_private->ttm.bdev); 813 811 #endif 814 812 return ret; -
trunk/src/VBox/Additions/linux/sharedfolders/dirops.c
r94531 r95411 830 830 pReq->Create.CreateParms.Info.Attr.fMode = (S_ISDIR(mode) ? RTFS_TYPE_DIRECTORY : RTFS_TYPE_FILE) 831 831 | sf_access_permissions_to_vbox(mode); 832 pReq->Create.CreateParms.Info.Attr.enmAdditional = RTFSOBJATTRADD_NOTHING;832 pReq->Create.CreateParms.Info.Attr.enmAdditional = SHFLFSOBJATTRADD_NOTHING; 833 833 834 834 SFLOGFLOW(("%s calling VbglR0SfHostReqCreate(%s, %#x)\n", pszPrefix, path->String.ach, pReq->Create.CreateParms.CreateFlags)); -
trunk/src/VBox/Additions/linux/sharedfolders/utils.c
r93115 r95411 48 48 char *out = name; 49 49 size_t out_bound_len = name_bound_len - 1; 50 size_t out_len = 0;51 50 52 51 while (in_bound_len) { … … 64 63 out += cbOutEnc; 65 64 out_bound_len -= cbOutEnc; 66 out_len += cbOutEnc;67 65 68 66 in += cbInEnc; -
trunk/src/VBox/Additions/linux/sharedfolders/vfsmod.c
r93115 r95411 194 194 if ((unsigned)info->length >= RT_UOFFSETOF(struct vbsf_mount_info_new, enmCacheMode)) { 195 195 switch (info->enmCacheMode) { 196 case kVbsfCacheMode_Default: 196 case kVbsfCacheMode_Default: RT_FALL_THRU(); 197 197 case kVbsfCacheMode_Strict: 198 198 break; … … 1140 1140 seq_printf(m, ",dirbuf=%u", pSuperInfo->cbDirBuf); 1141 1141 switch (pSuperInfo->enmCacheMode) { 1142 default: AssertFailed(); 1142 default: AssertFailed(); RT_FALL_THRU(); 1143 1143 case kVbsfCacheMode_Strict: 1144 1144 break;
Note:
See TracChangeset
for help on using the changeset viewer.