summaryrefslogtreecommitdiff
path: root/Kernel/UnixTypes.h
diff options
context:
space:
mode:
authorPankaj Raghav <pankydev8@gmail.com>2022-03-28 21:01:46 +0200
committerIdan Horowitz <idan.horowitz@gmail.com>2022-03-30 19:31:12 +0300
commit36363b1a37593bbdfb1bd31e67fc72fb05523c2b (patch)
treecfe6f0dd13d2f0a4b37f2c69bd6d5f05104eb359 /Kernel/UnixTypes.h
parent34db0dab414bf83ba4631538891ecbd07b08d5aa (diff)
downloadserenity-36363b1a37593bbdfb1bd31e67fc72fb05523c2b.zip
Kernel: Fix storage device read/write for request length < block size
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.
Diffstat (limited to 'Kernel/UnixTypes.h')
0 files changed, 0 insertions, 0 deletions