diff options
author | Sasha Levin <sasha.levin@oracle.com> | 2015-07-25 00:19:58 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.com> | 2015-08-31 19:39:39 +0200 |
commit | 25b2edfa3b6940b73180d2735cd19fdf58d0cf91 (patch) | |
tree | e696c04cdb531172cb3eda7a623a1b1129878eab /drivers/ata/pata_acpi.c | |
parent | md/raid5: handle possible race as reshape completes. (diff) | |
download | linux-25b2edfa3b6940b73180d2735cd19fdf58d0cf91.tar.xz linux-25b2edfa3b6940b73180d2735cd19fdf58d0cf91.zip |
md: setup safemode_timer before it's being used
We used to set up the safemode_timer timer in md_run. If md_run
would fail before the timer was set up we'd end up trying to modify
a timer that doesn't have a callback function when we access safe_delay_store,
which would trigger a BUG.
neilb: delete init_timer() call as setup_timer() does that.
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: NeilBrown <neilb@suse.com>
Diffstat (limited to 'drivers/ata/pata_acpi.c')
0 files changed, 0 insertions, 0 deletions