Changeset 40735 in vbox
- Timestamp:
- Apr 1, 2012 9:28:43 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/sharedfolders/vfsmod.c
r40734 r40735 199 199 SHFLFSOBJINFO fsinfo; 200 200 struct vbsf_mount_info_new *info; 201 bool fInodePut = true; 201 202 202 203 TRACE(); … … 296 297 297 298 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 4, 0) 298 droot = d_ obtain_alias(iroot);299 droot = d_make_root(iroot); 299 300 #else 300 301 droot = d_alloc_root(iroot); … … 304 305 err = -ENOMEM; /* XXX */ 305 306 LogFunc(("d_alloc_root failed\n")); 307 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 4, 0) 308 fInodePut = false; 309 #endif 306 310 goto fail5; 307 311 } … … 315 319 316 320 fail4: 317 iput(iroot); 321 if (fInodePut) 322 iput(iroot); 318 323 319 324 fail3:
Note:
See TracChangeset
for help on using the changeset viewer.