]> www.infradead.org Git - users/hch/block.git/commit
floppy: always use the track buffer
authorChristoph Hellwig <hch@lst.de>
Sat, 3 Apr 2021 17:30:03 +0000 (19:30 +0200)
committerChristoph Hellwig <hch@lst.de>
Sat, 3 Apr 2021 17:35:30 +0000 (19:35 +0200)
commit08cdcc5d69eef629b82a8491261aed249c84a89e
tree43b85d380c330cb29fc4a37eda965a55d3637d15
parent0c1ecc9f2a8b3be99afc79b5d775b3fe4b5390e6
floppy: always use the track buffer

Always use the track buffer that is already used for addresses outside
the 16MB address capability of the floppy controller.  This allows to
remove a lot of code that relies on kernel virtual addresses.  With
this gone there is just a single place left that looks at the bio,
which can be converted to memcpy_{from,to}_page, thus removing the need
for the extra block-layer bounce buffering for highmem pages.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/block/floppy.c