diff options
Diffstat (limited to 'drivers/cdrom/cdrom.c')
-rw-r--r-- | drivers/cdrom/cdrom.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c index 3170eaa2508..d239cf8b20b 100644 --- a/drivers/cdrom/cdrom.c +++ b/drivers/cdrom/cdrom.c | |||
@@ -263,7 +263,6 @@ | |||
263 | /* #define ERRLOGMASK (CD_WARNING|CD_OPEN|CD_COUNT_TRACKS|CD_CLOSE) */ | 263 | /* #define ERRLOGMASK (CD_WARNING|CD_OPEN|CD_COUNT_TRACKS|CD_CLOSE) */ |
264 | /* #define ERRLOGMASK (CD_WARNING|CD_REG_UNREG|CD_DO_IOCTL|CD_OPEN|CD_CLOSE|CD_COUNT_TRACKS) */ | 264 | /* #define ERRLOGMASK (CD_WARNING|CD_REG_UNREG|CD_DO_IOCTL|CD_OPEN|CD_CLOSE|CD_COUNT_TRACKS) */ |
265 | 265 | ||
266 | #include <linux/config.h> | ||
267 | #include <linux/module.h> | 266 | #include <linux/module.h> |
268 | #include <linux/fs.h> | 267 | #include <linux/fs.h> |
269 | #include <linux/buffer_head.h> | 268 | #include <linux/buffer_head.h> |
@@ -1838,7 +1837,7 @@ static int dvd_read_bca(struct cdrom_device_info *cdi, dvd_struct *s) | |||
1838 | init_cdrom_command(&cgc, buf, sizeof(buf), CGC_DATA_READ); | 1837 | init_cdrom_command(&cgc, buf, sizeof(buf), CGC_DATA_READ); |
1839 | cgc.cmd[0] = GPCMD_READ_DVD_STRUCTURE; | 1838 | cgc.cmd[0] = GPCMD_READ_DVD_STRUCTURE; |
1840 | cgc.cmd[7] = s->type; | 1839 | cgc.cmd[7] = s->type; |
1841 | cgc.cmd[9] = cgc.buflen = 0xff; | 1840 | cgc.cmd[9] = cgc.buflen & 0xff; |
1842 | 1841 | ||
1843 | if ((ret = cdo->generic_packet(cdi, &cgc))) | 1842 | if ((ret = cdo->generic_packet(cdi, &cgc))) |
1844 | return ret; | 1843 | return ret; |