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>