summaryrefslogtreecommitdiff
path: root/kernel/fs
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fs')
-rw-r--r--kernel/fs/ext2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fs/ext2.c b/kernel/fs/ext2.c
index 0c226cf..6bde98b 100644
--- a/kernel/fs/ext2.c
+++ b/kernel/fs/ext2.c
@@ -58,7 +58,7 @@ void cached_read_block(uint32_t block, void *address, size_t size,
struct BLOCK_CACHE *c = &cache[free_found];
c->block_num = block;
read_lba(block * block_byte_size / 512, c->block, 1024, 0);
- return cached_read_block(block, address, size, offset);
+ cached_read_block(block, address, size, offset);
}
void ext2_read_block(uint32_t block, void *address, size_t size,