Re: [PATCH 5/7] hfsplus: stop using ioctl_by_bdev

2020-05-04 Thread Jens Axboe
On 5/4/20 10:21 AM, Christoph Hellwig wrote: > On Mon, May 04, 2020 at 10:16:40AM -0600, Jens Axboe wrote: >> On 4/25/20 1:57 AM, Christoph Hellwig wrote: >>> if (HFSPLUS_SB(sb)->session >= 0) { >>> + struct cdrom_tocentry te; >>> + >>> + if (!cdi) >>> + re

Re: [PATCH 5/7] hfsplus: stop using ioctl_by_bdev

2020-05-04 Thread Christoph Hellwig
On Mon, May 04, 2020 at 10:16:40AM -0600, Jens Axboe wrote: > On 4/25/20 1:57 AM, Christoph Hellwig wrote: > > if (HFSPLUS_SB(sb)->session >= 0) { > > + struct cdrom_tocentry te; > > + > > + if (!cdi) > > + return -EINVAL; > > + > > te.cdte_trac

Re: [PATCH 5/7] hfsplus: stop using ioctl_by_bdev

2020-05-04 Thread Jens Axboe
On 4/25/20 1:57 AM, Christoph Hellwig wrote: > if (HFSPLUS_SB(sb)->session >= 0) { > + struct cdrom_tocentry te; > + > + if (!cdi) > + return -EINVAL; > + > te.cdte_track = HFSPLUS_SB(sb)->session; > te.cdte_format = CDRO