SysTutorials

Linux Manual Pages › Section 9

scsi_device_put(9)

scsi_device_put – release a reference to a scsi_device

Synopsis

void scsi_device_put(struct scsi_device *sdev);

Arguments

sdev

device to release a reference on.

Description

Release a reference to the scsi_device and decrements the use count of the underlying LLDD module. The device is freed once the last user vanishes.

Authors

James Bottomley <James.Bottomley [at] hansenpartnership.com>

Author.

Rob Landley <rob [at] landley.net>

Author.

Copyright