diff options
author | Kashyap Desai <Kashyap.Desai@lsi.com> | 2012-07-18 03:20:44 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-08-22 07:39:25 +0200 |
commit | bd8d6dd43a77bfd2b8fef5b094b9d6095e169dee (patch) | |
tree | 72de4e32718559ec28f8ad31b26f4d4b4676a950 /init/main.c | |
parent | [SCSI] mpt2sas: Fix for Driver oops, when loading driver with max_queue_depth... (diff) | |
download | linux-bd8d6dd43a77bfd2b8fef5b094b9d6095e169dee.tar.xz linux-bd8d6dd43a77bfd2b8fef5b094b9d6095e169dee.zip |
[SCSI] megaraid_sas: Move poll_aen_lock initializer
The following patch moves the poll_aen_lock initializer from
megasas_probe_one() to megasas_init(). This prevents a crash when a user
loads the driver and tries to issue a poll() system call on the ioctl
interface with no adapters present.
Signed-off-by: Kashyap Desai <Kashyap.Desai@lsi.com>
Signed-off-by: Adam Radford <aradford@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions