ext4: Convert callers of ext4_get_blocks() to use ext4_map_blocks()
authorTheodore Ts'o <tytso@mit.edu>
Mon, 17 May 2010 00:00:00 +0000 (20:00 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 17 May 2010 00:00:00 +0000 (20:00 -0400)
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>

No differences found