From debba58308fd4c493fcde22094b4aa49b03988c1 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 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 --- 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 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" -- 1.8.3.1