Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
It is possible for mgc_fs_setup() to leak a reference to cl_mgc_mutex if local_oid_storage_init() fails:
/* The mgc fs exclusion mutex. Only one fs can be setup at a time. */ mutex_lock(&cli->cl_mgc_mutex); /* Setup the configs dir */ fid.f_seq = FID_SEQ_LOCAL_NAME; fid.f_oid = 1; fid.f_ver = 0; rc = local_oid_storage_init(env, lsi->lsi_dt_dev, &fid, &cli->cl_mgc_los); if (rc) RETURN(rc);
Attachments
Issue Links
- is duplicated by
-
LU-6554 missing mutex unlock in mgc_fs_setup()
- Resolved