OSDN Git Service

floppy: cleanup: make next_valid_format() not rely on current_drive anymore
authorWilly Tarreau <w@1wt.eu>
Tue, 31 Mar 2020 09:40:51 +0000 (11:40 +0200)
committerDenis Efremov <efremov@linux.com>
Tue, 12 May 2020 16:34:55 +0000 (19:34 +0300)
commit43d81bb6470c431e17f093b3f7adf70fd33ef15a
tree5aece0d6b6643f6fb42a1b291552b18bc3a44a0a
parentc7af70b0fb2535ee3f7165627fc0e73b1934dbfc
floppy: cleanup: make next_valid_format() not rely on current_drive anymore

Now the drive is passed in argument so that the function does not
use current_drive anymore.

Link: https://lore.kernel.org/r/20200331094054.24441-21-w@1wt.eu
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Denis Efremov <efremov@linux.com>
drivers/block/floppy.c