Commit 4294d4db authored by Jens Axboe's avatar Jens Axboe Committed by Linus Torvalds

[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: default avatarJens Axboe <axboe@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 854bfad5
...@@ -178,6 +178,7 @@ static int verify_command(struct file *file, unsigned char *cmd) ...@@ -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_EVENT),
safe_for_write(GPCMD_SEND_KEY), safe_for_write(GPCMD_SEND_KEY),
safe_for_write(GPCMD_SEND_OPC), safe_for_write(GPCMD_SEND_OPC),
safe_for_write(GPCMD_SEND_CUE_SHEET),
safe_for_write(GPCMD_SET_SPEED), safe_for_write(GPCMD_SET_SPEED),
safe_for_write(GPCMD_PREVENT_ALLOW_MEDIUM_REMOVAL), safe_for_write(GPCMD_PREVENT_ALLOW_MEDIUM_REMOVAL),
safe_for_write(GPCMD_LOAD_UNLOAD), safe_for_write(GPCMD_LOAD_UNLOAD),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment