summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Haverkamp <markh@osdl.org>2005-04-26 22:54:58 -0700
committerJames Bottomley <jejb@mulgrave.(none)>2005-04-26 22:54:58 -0700
commit036d618434516103adb4d36db28a57968d2f2e7b (patch)
treea401c4ed2ff6a5305442243badd4aba7f6287854
parentbd6ae2f6d61da0f90c6b66e9a4ab6c53ef8c159a (diff)
downloadblackbird-op-linux-036d618434516103adb4d36db28a57968d2f2e7b.tar.gz
blackbird-op-linux-036d618434516103adb4d36db28a57968d2f2e7b.zip
[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 <markh@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-rw-r--r--drivers/scsi/aacraid/linit.c2
1 files changed, 1 insertions, 1 deletions
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;
}
/**
OpenPOWER on IntegriCloud