scsi_target_reap_ref_release
Prev | drivers/scsi/scsi_scan.c | Next

## Name

scsi_target_reap_ref_release — remove target from visibility

## Synopsis

`void scsi_target_reap_ref_release (` | struct kref * kref`)`;

## Arguments

`kref`

  the reap_ref in the target being released

## Description

Called on last put of reap_ref, which is the indication that no device under this target is visible anymore, so render the target invisible in sysfs. Note: we have to be in user context here because the target reaps should be done in places where the scsi device visibility is being removed.

Prev | Up | Next
scsi_alloc_sdev | Home | scsi_alloc_target