diff options
author | Yue Zhang <yuezha@microsoft.com> | 2014-06-27 18:19:48 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-09 14:21:26 -0700 |
commit | e013ac312c79379b26cf29012cfbb37c68f79283 (patch) | |
tree | 684ca9c3ada56901c9c8756cce25a6353045873f /tools/testing | |
parent | da86920f4a193c8d55cfcb006e2e74b4bfab21d0 (diff) | |
download | blackbird-op-linux-e013ac312c79379b26cf29012cfbb37c68f79283.tar.gz blackbird-op-linux-e013ac312c79379b26cf29012cfbb37c68f79283.zip |
Tools: hv: fix file overwriting of hv_fcopy_daemon
hv_fcopy_daemon fails to overwrite a file if the target file already
exits.
Add O_TRUNC flag on opening.
Signed-off-by: Yue Zhang <yuezha@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions