From 89058b44f0439842cdce1ef8a5ca12687b8bf753 Mon Sep 17 00:00:00 2001 From: James Nunez Date: Thu, 24 Jul 2014 10:42:05 -0600 Subject: [PATCH] LU-5332 hsm: Release XATTR lock on exiting This should be a typo where it should jump to out_unlock instead of out_ucred. This is a backport to b2_5. Lustre-change: http://review.whamcloud.com/11083 Lustre-commit: 393350b37cae30efc03ffc076c77e390999c2a2d Signed-off-by: Jinshan Xiong Signed-off-by: James Nunez Change-Id: I03242e40f7e33a115934081375be7c86044fa254 Reviewed-on: http://review.whamcloud.com/11215 Tested-by: Jenkins Reviewed-by: frank zago Tested-by: Maloo Reviewed-by: John L. Hammond Reviewed-by: Oleg Drokin --- lustre/mdt/mdt_hsm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/mdt/mdt_hsm.c b/lustre/mdt/mdt_hsm.c index 58a91ee..2afe12f 100644 --- a/lustre/mdt/mdt_hsm.c +++ b/lustre/mdt/mdt_hsm.c @@ -319,7 +319,7 @@ int mdt_hsm_state_set(struct mdt_thread_info *info) CDEBUG(D_HSM, "Incompatible flag change on "DFID "flags="LPX64"\n", PFID(&info->mti_body->fid1), flags); - GOTO(out_ucred, rc = -EINVAL); + GOTO(out_unlock, rc = -EINVAL); } /* Save the modified flags */ -- 1.8.3.1