View | Details | Raw Unified | Return to bug 255866
Collapse All | Expand All

(-)b/sys/dev/ocs_fc/ocs_sport.c (-1 / +3 lines)
Lines 213-218 void Link Here
213
ocs_sport_free(ocs_sport_t *sport)
213
ocs_sport_free(ocs_sport_t *sport)
214
{
214
{
215
	ocs_domain_t *domain;
215
	ocs_domain_t *domain;
216
	ocs_t *ocs;
216
	ocs_node_group_dir_t *node_group_dir;
217
	ocs_node_group_dir_t *node_group_dir;
217
	ocs_node_group_dir_t *node_group_dir_next;
218
	ocs_node_group_dir_t *node_group_dir_next;
218
	int post_all_free = FALSE;
219
	int post_all_free = FALSE;
Lines 255-260 ocs_sport_free(ocs_sport_t *sport) Link Here
255
			ocs_sport_unlock(sport);
256
			ocs_sport_unlock(sport);
256
		ocs_domain_unlock(domain);
257
		ocs_domain_unlock(domain);
257
258
259
		ocs = domain->ocs;
258
		if (post_all_free) {
260
		if (post_all_free) {
259
			ocs_domain_post_event(domain, OCS_EVT_ALL_CHILD_NODES_FREE, NULL);
261
			ocs_domain_post_event(domain, OCS_EVT_ALL_CHILD_NODES_FREE, NULL);
260
		}
262
		}
Lines 263-269 ocs_sport_free(ocs_sport_t *sport) Link Here
263
		ocs_lock_free(&sport->node_group_lock);
265
		ocs_lock_free(&sport->node_group_lock);
264
		ocs_scsi_sport_deleted(sport);
266
		ocs_scsi_sport_deleted(sport);
265
267
266
		ocs_free(domain->ocs, sport, sizeof(*sport));
268
		ocs_free(ocs, sport, sizeof(*sport));
267
		
269
		
268
	}
270
	}
269
}
271
}

Return to bug 255866