diff options
author | Theodore Ts'o <tytso@mit.edu> | 2010-05-17 02:00:00 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2010-05-17 02:00:00 +0200 |
commit | 2ed886852adfcb070bf350e66a0da0d98b2f3ab5 (patch) | |
tree | bcec0a1004f413b70087e2c43097892f87f21cc3 /tools | |
parent | ext4: Add new abstraction ext4_map_blocks() underneath ext4_get_blocks() (diff) | |
download | linux-2ed886852adfcb070bf350e66a0da0d98b2f3ab5.tar.xz linux-2ed886852adfcb070bf350e66a0da0d98b2f3ab5.zip |
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: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions