[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200423071224.500849-1-hch@lst.de>
Date: Thu, 23 Apr 2020 09:12:17 +0200
From: Christoph Hellwig <hch@....de>
To: Jens Axboe <axboe@...nel.dk>
Cc: Tim Waugh <tim@...erelk.net>, Borislav Petkov <bp@...en8.de>,
Jan Kara <jack@...e.com>, linux-block@...r.kernel.org,
linux-ide@...r.kernel.org, linux-scsi@...r.kernel.org,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: stop using ioctl_by_bdev for file system access to CDROMs
Hi Jens,
except for the DASD case under discussion the last users of ioctl_by_bdev
are the file system drivers that want to query CDROM information using
ioctls. This series switches them to use function calls directly into
the CDROM midlayer instead, which implies:
- adding a cdrom_device_info pointer to the gendisk, so that file systems
can find it without going to the low-level driver first
- ensuring that the CDROM midlayer (which isn't a lot of code) is built
in if the file systems are built in so that they can actually call the
exported functions
Powered by blists - more mailing lists