Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2ed88685 authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

ext4: Convert callers of ext4_get_blocks() to use ext4_map_blocks()



This saves a huge amount of stack space by avoiding unnecesary struct
buffer_head's from being allocated on the stack.

In addition, to make the code easier to understand, collapse and
refactor ext4_get_block(), ext4_get_block_write(),
noalloc_get_block_write(), into a single function.

Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent e35fd660
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment