From: Mark Haverkamp Date: Wed, 27 Apr 2005 05:54:58 +0000 (-0700) Subject: [SCSI] aacraid: Fix adapter open error X-Git-Tag: v2.6.12-rc4~19^2~3 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=036d618434516103adb4d36db28a57968d2f2e7b;p=linux-2.6 [SCSI] aacraid: Fix adapter open error This fixes an error on the device open code that allows a non-existent device to be opened causing later panic problems. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c index c9b82687ba..242fa77513 100644 --- a/drivers/scsi/aacraid/linit.c +++ b/drivers/scsi/aacraid/linit.c @@ -450,7 +450,7 @@ static int aac_cfg_open(struct inode *inode, struct file *file) } } - return 0; + return err; } /**