]> git.hungrycats.org Git - linux/commitdiff
[PATCH] GPCMD_SEND_CUE_SHEET missing in scsi_ioctl
authorJens Axboe <axboe@suse.de>
Tue, 24 Aug 2004 05:33:27 +0000 (22:33 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 24 Aug 2004 05:33:27 +0000 (22:33 -0700)
Forgot one command, GPCMD_SEND_CUE_SHEET is also ok for write open.

Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/scsi_ioctl.c

index 134305d148e3e62b4b17ecf42af1de2763ff5cf8..c1d2877d0974a7348fb2a7ddf77f7dc38435dcae 100644 (file)
@@ -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),