+
+ spin_lock(&mds->mds_denylist_lock);
+ while (!list_empty( &mds->mds_denylist ) ) {
+ deny_sec_t *p_deny_sec = list_entry(mds->mds_denylist.next,
+ deny_sec_t, list);
+ list_del(&p_deny_sec->list);
+ OBD_FREE(p_deny_sec, sizeof(*p_deny_sec));
+ }
+ spin_unlock(&mds->mds_denylist_lock);
+ if(mds->mds_mds_sec)
+ OBD_FREE(mds->mds_mds_sec, strlen(mds->mds_mds_sec) + 1);
+ if(mds->mds_ost_sec)
+ OBD_FREE(mds->mds_ost_sec, strlen(mds->mds_ost_sec) + 1);
+