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.10.4-RC1~67 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F67%2F31667%2F2;p=fs%2Flustre-release.git LU-10764 hsm: Correct debug print in ct_archive As is it's never printed due to misplaced curly bracket Test-Parameters: trivial Lustre-change: https://review.whamcloud.com/31509 Lustre-commit: debba58308fd4c493fcde22094b4aa49b03988c1 Change-Id: I15c60f2ec44aaaa723945068d576dc59e04a2b95 Signed-off-by: Oleg Drokin Reviewed-by: John L. Hammond Reviewed-by: Quentin Bouget Signed-off-by: Minh Diep Reviewed-on: https://review.whamcloud.com/31667 Tested-by: Jenkins Tested-by: Maloo --- diff --git a/lustre/utils/lhsmtool_posix.c b/lustre/utils/lhsmtool_posix.c index 3bdaa42..7d30edb 100644 --- a/lustre/utils/lhsmtool_posix.c +++ b/lustre/utils/lhsmtool_posix.c @@ -1075,10 +1075,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"