mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-05-28 08:08:02 +00:00
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>