]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
gdrom: support highmem
authorChristoph Hellwig <hch@lst.de>
Tue, 6 Apr 2021 06:16:48 +0000 (08:16 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 6 Apr 2021 15:29:36 +0000 (09:29 -0600)
commit1d2c82001a5f528d474dc29a7b1f35ff367f86db
tree12a753917a19aa56a69ae8f878cbeca666335f4a
parenta425711c6c9c85769915acebc216008053bf5db8
gdrom: support highmem

The gdrom driver only has a single reference to the virtual address of
the bio data, and uses that only to get the physical address.  Switch
to deriving the physical address from the page directly and thus avoid
bounce buffering highmem data.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210406061648.811275-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/cdrom/gdrom.c