VirtualBox

Changeset 69151 in vbox for trunk/src/VBox/Additions/linux


Ignore:
Timestamp:
Oct 20, 2017 3:32:39 PM (7 years ago)
Author:
vboxsync
Message:

Additions/linux/shared folders: fix an error reporting bug.
bugref:4567: Linux kernel driver maintenance

Change r117153/public r68101 introduced this bug where we failed to convert
a VirtualBox error to a Linux one. Fixed. Thank you Hans de Goede.

File:
1 edited

Legend:

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

    r68101 r69151  
    235235        err = VbglR0SfWritePhysCont(&client_handle, &sf_g->map, sf_r->handle,
    236236                                    pos, &nwritten, tmp_phys);
     237        err = RT_FAILURE(err) ? -EPROTO : 0;
    237238        if (err)
    238239            goto fail;
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