Whamcloud - gitweb
LU-14911 osp: release thandle if it was created
authorAlex Zhuravlev <bzzz@whamcloud.com>
Thu, 4 Apr 2024 16:49:49 +0000 (19:49 +0300)
committerAndreas Dilger <adilger@whamcloud.com>
Sun, 7 Apr 2024 19:16:35 +0000 (19:16 +0000)
commitbcde50558418fd91057939476f642d7329a3d4e7
treec8d8aedfbb90896dc7dc9861e8850d3b88bca29d
parent075a641f4d9806f4f203dbfc9cbefb1fd086cd44
LU-14911 osp: release thandle if it was created

osp_statfs_update() could leak thandle if transaction couldn't
start for a reason.

Lustre-change:  https://review.whamcloud.com/44504
Lustre-commit: c807e3f33b39409a061fa997cac57ac394c503ba

Change-Id: I541a5e4a7860008eb179d905ac57997b737f178c
Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54670
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/osp/osp_precreate.c