Whamcloud - gitweb
LU-4781 utils: handle EEXIST in lustre_rsync 49/20649/2
authorJohn L. Hammond <john.hammond@intel.com>
Mon, 6 Jun 2016 20:06:59 +0000 (15:06 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 14 Jun 2016 03:56:20 +0000 (03:56 +0000)
commit2a55f34bd5514e905f6049f4e293352bd09ffe91
tree0056cdcdb3108dba34c8e28cdc661fb62c37e99f
parent0c51fa10d3b36eb9810d219a273738f02e56783f
LU-4781 utils: handle EEXIST in lustre_rsync

In lustre_rsync if the file to be created in the target already exist
then handle this rather than returning an error.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I8c04c80cf8618b3681be12d098be0f07a305df30
Reviewed-on: http://review.whamcloud.com/20649
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Li Xi <lixi@ddn.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/utils/lustre_rsync.c