History

Tools: hv: Handle the case when the target file exists correctly

Return the appropriate error code and handle the case when the target file exists correctly. This fixes a bug.

K. Y. Srinivasan committed 12 years ago

Commit 314672a1 parent 177581f2 files · +4 −1Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/hyperv.h+1−0
@@ -305,6 +305,7 @@ enum hv_kvp_exchg_pool { · 304 unmodified lines
305305 #define HV_ERROR_DEVICE_NOT_CONNECTED 0x8007048F
306306 #define HV_INVALIDARG 0x80070057
307307 #define HV_GUID_NOTFOUND 0x80041002
308+#define HV_ERROR_ALREADY_EXISTS 0x80070050
308309
309310 #define ADDR_FAMILY_NONE 0x00
310311 #define ADDR_FAMILY_IPV4 0x01

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t