From 4294d4db036b21ffe3af93b64d4b4e28e12d056b Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 23 Aug 2004 22:33:27 -0700 Subject: [PATCH] [PATCH] GPCMD_SEND_CUE_SHEET missing in scsi_ioctl Forgot one command, GPCMD_SEND_CUE_SHEET is also ok for write open. Signed-off-by: Jens Axboe Signed-off-by: Linus Torvalds --- drivers/block/scsi_ioctl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/block/scsi_ioctl.c b/drivers/block/scsi_ioctl.c index 134305d148e3e..c1d2877d0974a 100644 --- a/drivers/block/scsi_ioctl.c +++ b/drivers/block/scsi_ioctl.c @@ -178,6 +178,7 @@ static int verify_command(struct file *file, unsigned char *cmd) safe_for_write(GPCMD_SEND_EVENT), safe_for_write(GPCMD_SEND_KEY), safe_for_write(GPCMD_SEND_OPC), + safe_for_write(GPCMD_SEND_CUE_SHEET), safe_for_write(GPCMD_SET_SPEED), safe_for_write(GPCMD_PREVENT_ALLOW_MEDIUM_REMOVAL), safe_for_write(GPCMD_LOAD_UNLOAD), -- 2.53.0