On Wed, Dec 18, 2019 at 8:57 PM Ben Hutchings <ben.hutchings@xxxxxxxxxxxxxxx> wrote: > > On Tue, 2019-12-17 at 23:16 +0100, Arnd Bergmann wrote: > > + > > + /* > > + * CDROM ioctls are handled in the block layer, but > > + * do the scsi blk ioctls here. > > + */ > > + ret = scsi_cmd_blk_ioctl(bdev, mode, cmd, argp); > > + if (ret != -ENOTTY) > > + return ret; > > This needs to be be "goto put;" Fixed now, thanks! Arnd