From: Oleg Drokin Date: Mon, 5 Mar 2018 06:15:50 +0000 (-0500) Subject: LU-10764 hsm: Correct debug print in ct_archive X-Git-Tag: 2.11.0-RC1~9 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=debba58308fd4c493fcde22094b4aa49b03988c1 LU-10764 hsm: Correct debug print in ct_archive As is it's never printed due to misplaced curly bracket Test-Parameters: trivial Change-Id: I15c60f2ec44aaaa723945068d576dc59e04a2b95 Signed-off-by: Oleg Drokin Reviewed-on: https://review.whamcloud.com/31509 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: John L. Hammond Reviewed-by: Quentin Bouget --- diff --git a/lustre/utils/lhsmtool_posix.c b/lustre/utils/lhsmtool_posix.c index 05036af..2ad9f3f 100644 --- a/lustre/utils/lhsmtool_posix.c +++ b/lustre/utils/lhsmtool_posix.c @@ -1089,10 +1089,10 @@ static int ct_archive(const struct hsm_action_item *hai, const long hal_flags) src); rcf = rcf ? rcf : -errno; goto fini_minor; + } /* unlink old symlink done */ CT_TRACE("remove old symlink '%s' pointing" " to '%s'", src, buf); - } } else { /* symlink already ok */ CT_TRACE("symlink '%s' already pointing"