Whamcloud - gitweb
LU-15038 mgc: release cl_mgc_mutex on error
authorAndreas Dilger <adilger@whamcloud.com>
Mon, 27 Sep 2021 18:29:58 +0000 (12:29 -0600)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 22 Oct 2021 16:46:59 +0000 (16:46 +0000)
commit5914255b823f32ce0b075988cd7fc80536d344c7
tree66f126cad4aedfcbde065b4aa271cafc32bd80db
parent3351956fb28028483e241812dbdef0e7889e6ddc
LU-15038 mgc: release cl_mgc_mutex on error

If local_oid_storage_init() returns an error, the cl_mgc_mutex()
should be released.

Lustre-change: https://review.whamcloud.com/45063
Lustre-commit: 7cf10b90d62256aa4d177486ff13bd61dfb9a5ff

Fixes: 3e38436dc09 ("LU-2059 llog: MGC to use OSD API for backup logs")
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I921dde4e9202733874d8e7f980e95af23739a655
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/45330
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/mgc/mgc_request.c