From: Mark Haverkamp Date: Wed, 27 Apr 2005 05:54:58 +0000 (-0700) Subject: [SCSI] aacraid: Fix adapter open error X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=036d618434516103adb4d36db28a57968d2f2e7b;p=linux-beck.git [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 c9b82687ba1a..242fa77513f5 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; } /**