mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 03:37:53 +00:00
Kernel: Use u64 instead of size_t for BlockBasedFileSystem::read_block
This ensures offsets will not be truncated on large filesystems on i686
This commit is contained in:
@@ -26,7 +26,7 @@ public:
|
||||
protected:
|
||||
explicit BlockBasedFileSystem(OpenFileDescription&);
|
||||
|
||||
ErrorOr<void> read_block(BlockIndex, UserOrKernelBuffer*, size_t count, size_t offset = 0, bool allow_cache = true) const;
|
||||
ErrorOr<void> read_block(BlockIndex, UserOrKernelBuffer*, size_t count, u64 offset = 0, bool allow_cache = true) const;
|
||||
ErrorOr<void> read_blocks(BlockIndex, unsigned count, UserOrKernelBuffer&, bool allow_cache = true) const;
|
||||
|
||||
ErrorOr<void> raw_read(BlockIndex, UserOrKernelBuffer&);
|
||||
|
||||
Reference in New Issue
Block a user