Tools: hv: Handle the case when the target file exists correctly
authorK. Y. Srinivasan <kys@microsoft.com>
Thu, 10 Apr 2014 00:24:16 +0000 (17:24 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Apr 2014 21:10:36 +0000 (14:10 -0700)
commit314672a2c2780212fb770bb02d2fffaa1019823f
tree779a9ba8840cadcd12fe0c6503b054df61d13aa5
parent177581faf2a5aa71898d223bc47dbc882eeb1488
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.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Cc: <stable@vger.kernel.org> [3.14]
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/uapi/linux/hyperv.h
tools/hv/hv_fcopy_daemon.c