From: James Bottomley Date: Wed, 6 Sep 2006 14:00:29 +0000 (-0500) Subject: [SCSI] fix up non-modular SCSI X-Git-Tag: v2.6.19-rc1~1266^2~19^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f479ab87936563a286b8aa0e39003c40fa31c6da;p=pandora-kernel.git [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 --- Reading git-diff-tree failed