]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: compat_ioctl: cdrom: Replace .ioctl with .compat_ioctl in four appropriate...
authorAdam Williamson <awilliam@redhat.com>
Wed, 19 Feb 2020 16:50:07 +0000 (17:50 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 24 Feb 2020 20:06:07 +0000 (15:06 -0500)
commit952c67a60577dacc53bc925bdc6dbf0c925cc8b7
tree0bd0975856523269deaae7d761b4022066c9a824
parent3f9375ccfd47d9f270c898548b0757a0d6399246
scsi: compat_ioctl: cdrom: Replace .ioctl with .compat_ioctl in four appropriate places

Arnd Bergmann inadvertently typoed these in b90d4a4a08594 and 1af556a298ab;
they seem to be the cause of
https://bugzilla.redhat.com/show_bug.cgi?id=1801353 , invalid SCSI commands
when udev tries to query a DVD drive.

[arnd] Found another instance of the same bug, also introduced in my
compat_ioctl series.

Link: https://bugzilla.redhat.com/show_bug.cgi?id=1801353
Link: https://lore.kernel.org/r/20200219165139.3467320-1-arnd@arndb.de
Fixes: de4df3dc6a59 ("compat_ioctl: ide: floppy: add handler")
Fixes: 1af556a298ab ("compat_ioctl: move cdrom commands into cdrom.c")
Fixes: b90d4a4a0859 ("compat_ioctl: scsi: move ioctl handling into drivers")
Bisected-by: Chris Murphy <bugzilla@colorremedies.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Adam Williamson <awilliam@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/block/paride/pcd.c
drivers/cdrom/gdrom.c
drivers/ide/ide-gd.c
drivers/scsi/sr.c