mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
Commit7ae24fcee9("cdrom: remove the unused mode argument to cdrom_release") was supposed to remove an unused argument from cdrom_release(). but instead removed a used argument from cdrom_open(). This results in the following build error. drivers/cdrom/gdrom.c: In function 'gdrom_bdops_open': drivers/cdrom/gdrom.c:484:15: error: too few arguments to function 'cdrom_open' drivers/cdrom/gdrom.c: In function 'gdrom_bdops_release': drivers/cdrom/gdrom.c:492:35: error: 'mode' undeclared Fix it up. Fixes:7ae24fcee9("cdrom: remove the unused mode argument to cdrom_release") Cc: Christoph Hellwig <[email protected]> Cc: Phillip Potter <[email protected]> Cc: Hannes Reinecke <[email protected]> Cc: Christian Brauner <[email protected]> Cc: Jens Axboe <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>