floppy: use memcpy_{to,from}_bvec
authorChristoph Hellwig <hch@lst.de>
Thu, 3 Mar 2022 11:19:05 +0000 (14:19 +0300)
committerJens Axboe <axboe@kernel.dk>
Fri, 4 Mar 2022 19:29:21 +0000 (12:29 -0700)
commit13d4ef0f66b7ee9415e101e213acaf94a0cb28ee
tree86ec96afe0e08e3c62eee56acc00967e6c9c45af
parent3eddaa60b8411c135d1c71090dea9b59ff3f2e26
floppy: use memcpy_{to,from}_bvec

Use the helpers instead of open coding them.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Link: https://lore.kernel.org/r/20220303111905.321089-11-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/floppy.c