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