From 70f53ec333f0f1d24fbc5b7ace691ceb66ba8506 Mon Sep 17 00:00:00 2001 From: Oleg Drokin Date: Mon, 5 Mar 2018 01:15:50 -0500 Subject: [PATCH] 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 --- lustre/utils/lhsmtool_posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 1.8.3.1