Whamcloud - gitweb
LU-15038 mgc: release cl_mgc_mutex on error 63/45063/3
authorAndreas Dilger <adilger@whamcloud.com>
Mon, 27 Sep 2021 18:29:58 +0000 (12:29 -0600)
committerOleg Drokin <green@whamcloud.com>
Sun, 10 Oct 2021 03:32:35 +0000 (03:32 +0000)
commit7cf10b90d62256aa4d177486ff13bd61dfb9a5ff
tree97169c3fd5835149df99bcfcacfafbde9bbda12d
parentd8ff73097be78cc3e603ab49b6aaa03a1c766fcb
LU-15038 mgc: release cl_mgc_mutex on error

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

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-on: https://review.whamcloud.com/45063
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mgc/mgc_request.c