]> 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)
commit61c45e6bebf9d064140f130eb652bd0042e03d77
tree0bd0975856523269deaae7d761b4022066c9a824
parentfed03801b4c78e64daa494ca8d83c3fbcdb2ad4f
scsi: compat_ioctl: cdrom: Replace .ioctl with .compat_ioctl in four appropriate places

Arnd Bergmann inadvertently typoed these in 40f466ccc5ff3 and af9c6d353339;
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: 8ee7c6aea549 ("compat_ioctl: ide: floppy: add handler")
Fixes: af9c6d353339 ("compat_ioctl: move cdrom commands into cdrom.c")
Fixes: 40f466ccc5ff ("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