Skip to content

Commit

Permalink
[SCSI] aacraid: Fix adapter open error
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Haverkamp authored and James Bottomley committed Apr 27, 2005
1 parent bd6ae2f commit 036d618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/aacraid/linit.c
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ static int aac_cfg_open(struct inode *inode, struct file *file)
}
}

return 0;
return err;
}

/**
Expand Down

0 comments on commit 036d618

Please sign in to comment.