diff options
| author | James Bottomley <[email protected]> | 2006-09-06 14:00:29 +0000 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2006-09-07 15:37:22 +0000 |
| commit | f479ab87936563a286b8aa0e39003c40fa31c6da (patch) | |
| tree | 9592ef7ca7b68dd2ec5c21e371a6b4ad76be8ac5 /drivers/scsi/libsas/sas_init.c | |
| parent | [SCSI] Fix refcount breakage with 'echo "1" > scan' when target already present (diff) | |
| download | kernel-f479ab87936563a286b8aa0e39003c40fa31c6da.tar.gz kernel-f479ab87936563a286b8aa0e39003c40fa31c6da.zip | |
[SCSI] fix up non-modular SCSI
The recent change to the way scsi_device_get()/put() work broke the
non modular build (we do a module_refcount on a NULL). Fix this by
checking for non-null before checking module_refcount().
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/scsi/libsas/sas_init.c')
0 files changed, 0 insertions, 0 deletions
