[PATCH 05/31] cdrom: track if a cdrom_device_info was opened for data

Christian Brauner brauner at kernel.org
Wed Jun 7 01:19:42 PDT 2023


On Tue, Jun 06, 2023 at 09:39:24AM +0200, Christoph Hellwig wrote:
> Set a flag when a cdrom_device_info is opened for writing, instead of
> trying to figure out this at release time.  This will allow to eventually
> remove the mode argument to the ->release block_device_operation as
> nothing but the CDROM drivers uses that argument.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---

Looks good to me,
Acked-by: Christian Brauner <brauner at kernel.org>



More information about the linux-um mailing list