mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-12 01:47:00 +02:00
The current implementation of read/write will fail in StorageDevice when the request length is less than the block size of the underlying device. Fix it by calculating the offset within a block for such cases and using it for copying data from the bounce buffer.