diff options
Diffstat (limited to 'Documentation/scsi')
-rw-r--r-- | Documentation/scsi/scsi_mid_low_api.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/scsi/scsi_mid_low_api.txt b/Documentation/scsi/scsi_mid_low_api.txt index 6338400eed73..2c31d9ee6776 100644 --- a/Documentation/scsi/scsi_mid_low_api.txt +++ b/Documentation/scsi/scsi_mid_low_api.txt | |||
@@ -319,12 +319,12 @@ struct Scsi_Host: | |||
319 | instance. If the reference count reaches 0 then the given instance | 319 | instance. If the reference count reaches 0 then the given instance |
320 | is freed | 320 | is freed |
321 | 321 | ||
322 | The Scsi_device structure has had reference counting infrastructure added. | 322 | The scsi_device structure has had reference counting infrastructure added. |
323 | This effectively spreads the ownership of struct Scsi_device instances | 323 | This effectively spreads the ownership of struct scsi_device instances |
324 | across the various SCSI layers which use them. Previously such instances | 324 | across the various SCSI layers which use them. Previously such instances |
325 | were exclusively owned by the mid level. See the access functions declared | 325 | were exclusively owned by the mid level. See the access functions declared |
326 | towards the end of include/scsi/scsi_device.h . If an LLD wants to keep | 326 | towards the end of include/scsi/scsi_device.h . If an LLD wants to keep |
327 | a copy of a pointer to a Scsi_device instance it should use scsi_device_get() | 327 | a copy of a pointer to a scsi_device instance it should use scsi_device_get() |
328 | to bump its reference count. When it is finished with the pointer it can | 328 | to bump its reference count. When it is finished with the pointer it can |
329 | use scsi_device_put() to decrement its reference count (and potentially | 329 | use scsi_device_put() to decrement its reference count (and potentially |
330 | delete it). | 330 | delete it). |