[SCSI] aacraid: Fix adapter open error
authorMark Haverkamp <markh@osdl.org>
Wed, 27 Apr 2005 05:54:58 +0000 (22:54 -0700)
committerJames Bottomley <jejb@mulgrave.(none)>
Wed, 27 Apr 2005 05:54:58 +0000 (22:54 -0700)
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>
drivers/scsi/aacraid/linit.c

index c9b82687ba1aa5c59bd3bfd2d5fda40d7d3ea762..242fa77513f5a6e3502d2ae12cf3be65ff82853c 100644 (file)
@@ -450,7 +450,7 @@ static int aac_cfg_open(struct inode *inode, struct file *file)
                }
        }
 
-       return 0;
+       return err;
 }
 
 /**
This page took 0.026988 seconds and 5 git commands to generate.