Commit 4285f4de authored by Andi Kleen's avatar Andi Kleen Committed by James Bottomley

[PATCH] Add comment for compat_ioctl to SR

Add comment that SR doesn't support compat_ioctl (because it doesn't
pass down any driver ioctls right now)
Signed-off-by: default avatarAndi Kleen <ak@muc.de>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent fd442c5e
...@@ -518,6 +518,10 @@ struct block_device_operations sr_bdops = ...@@ -518,6 +518,10 @@ struct block_device_operations sr_bdops =
.release = sr_block_release, .release = sr_block_release,
.ioctl = sr_block_ioctl, .ioctl = sr_block_ioctl,
.media_changed = sr_block_media_changed, .media_changed = sr_block_media_changed,
/*
* No compat_ioctl for now because sr_block_ioctl never
* seems to pass arbitary ioctls down to host drivers.
*/
}; };
static int sr_open(struct cdrom_device_info *cdi, int purpose) static int sr_open(struct cdrom_device_info *cdi, int purpose)
......
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