From: Dan Carpenter Date: Wed, 9 Feb 2011 23:34:36 +0000 (-0800) Subject: [SCSI] target: iblock/pscsi claim checking for NULL instead of IS_ERR X-Git-Tag: v2.6.38-rc6~32^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ae279d25954de47c704ca713a2711ac10fcd1ee;p=pandora-kernel.git [SCSI] target: iblock/pscsi claim checking for NULL instead of IS_ERR blkdev_get_by_path() returns an ERR_PTR() or error and it doesn't return a NULL. It looks like this bug would be easy to trigger by mistake. Signed-off-by: Dan Carpenter Signed-off-by: Nicholas A. Bellinger Signed-off-by: James Bottomley --- Reading git-diff-tree failed