Re: [PATCH] cdrom: support read sub-channel command in LBA format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/10/2016 11:49 PM, Veeraiyan Chidambaram (RBEI/ECF32) wrote:
Hello Jens,

In CDROM Linux driver code, "Read Sub channel" format is hard coded
with CDROM_MSF format only in the function cdrom_read_subchannel() and
mmc_ioctl_cdrom_subchannel() in cdrom.c.  Hence, irrespective of
"Read Sub channel" command with CDROM_LBA/CDROM_MSF format, the
reported Response which is in MSF format was considered as LBA in user
space application.  Now the behavior is changed in such way that
IOCTL returns either CDROM_MSF or CDROM_LBA format per user request.
Please find the fix patch attached.

Applied for 4.8, thanks.

--
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux