Message ID | 20200219165139.3467320-1-arnd@arndb.de (mailing list archive) |
---|---|
State | Mainlined |
Commit | 03264ddde2453f6877a7d637d84068079632a3c5 |
Headers | show |
Series | compat_ioctl, cdrom: Replace .ioctl with .compat_ioctl in four appropriate places | expand |
Arnd, > Arnd Bergmann inadvertently typoed these in d320a9551e394 and > 64cbfa96551a; 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. Applied to 5.6/scsi-fixes. Thanks! Jens, I hope that's OK? I keep getting mail about this bug.
On 2/24/20 1:07 PM, Martin K. Petersen wrote: > > Arnd, > >> Arnd Bergmann inadvertently typoed these in d320a9551e394 and >> 64cbfa96551a; 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. > > Applied to 5.6/scsi-fixes. Thanks! > > Jens, I hope that's OK? I keep getting mail about this bug. Yeah that's fine, thanks for picking this up.
diff --git a/drivers/block/paride/pcd.c b/drivers/block/paride/pcd.c index 117cfc8cd05a..cda5cf917e9a 100644 --- a/drivers/block/paride/pcd.c +++ b/drivers/block/paride/pcd.c @@ -276,7 +276,7 @@ static const struct block_device_operations pcd_bdops = { .release = pcd_block_release, .ioctl = pcd_block_ioctl, #ifdef CONFIG_COMPAT - .ioctl = blkdev_compat_ptr_ioctl, + .compat_ioctl = blkdev_compat_ptr_ioctl, #endif .check_events = pcd_block_check_events, }; diff --git a/drivers/cdrom/gdrom.c b/drivers/cdrom/gdrom.c index 886b2638c730..c51292c2a131 100644 --- a/drivers/cdrom/gdrom.c +++ b/drivers/cdrom/gdrom.c @@ -519,7 +519,7 @@ static const struct block_device_operations gdrom_bdops = { .check_events = gdrom_bdops_check_events, .ioctl = gdrom_bdops_ioctl, #ifdef CONFIG_COMPAT - .ioctl = blkdev_compat_ptr_ioctl, + .compat_ioctl = blkdev_compat_ptr_ioctl, #endif }; diff --git a/drivers/ide/ide-gd.c b/drivers/ide/ide-gd.c index 1bb99b556393..05c26986637b 100644 --- a/drivers/ide/ide-gd.c +++ b/drivers/ide/ide-gd.c @@ -361,7 +361,7 @@ static const struct block_device_operations ide_gd_ops = { .release = ide_gd_release, .ioctl = ide_gd_ioctl, #ifdef CONFIG_COMPAT - .ioctl = ide_gd_compat_ioctl, + .compat_ioctl = ide_gd_compat_ioctl, #endif .getgeo = ide_gd_getgeo, .check_events = ide_gd_check_events, diff --git a/drivers/scsi/sr.c b/drivers/scsi/sr.c index 0fbb8fe6e521..e4240e4ae8bb 100644 --- a/drivers/scsi/sr.c +++ b/drivers/scsi/sr.c @@ -688,7 +688,7 @@ static const struct block_device_operations sr_bdops = .release = sr_block_release, .ioctl = sr_block_ioctl, #ifdef CONFIG_COMPAT - .ioctl = sr_block_compat_ioctl, + .compat_ioctl = sr_block_compat_ioctl, #endif .check_events = sr_block_check_events, .revalidate_disk = sr_block_revalidate_disk,