diff options
author | Willy Tarreau <w@1wt.eu> | 2020-04-10 12:19:02 +0200 |
---|---|---|
committer | Denis Efremov <efremov@linux.com> | 2020-05-12 18:34:56 +0200 |
commit | 6111a4f9bb189e76cda6a306074c9746ddeef04b (patch) | |
tree | bb1f2341943551f9cad590b67ad5940cbbcbc674 /drivers/virt | |
parent | floppy: cleanup: do not iterate on current_fdc in do_floppy_init() (diff) | |
download | linux-6111a4f9bb189e76cda6a306074c9746ddeef04b.tar.xz linux-6111a4f9bb189e76cda6a306074c9746ddeef04b.zip |
floppy: make sure to reset all FDCs upon resume()
In floppy_resume() we don't properly reinitialize all FDCs, instead
we reinitialize the current FDC once per available FDC because value
-1 is passed to user_reset_fdc(). Let's simply save the current drive
and properly reinitialize each FDC.
Link: https://lore.kernel.org/r/20200410101904.14652-1-w@1wt.eu
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Denis Efremov <efremov@linux.com>
Diffstat (limited to 'drivers/virt')
0 files changed, 0 insertions, 0 deletions