commit | 2ed886852adfcb070bf350e66a0da0d98b2f3ab5 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sun May 16 20:00:00 2010 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun May 16 20:00:00 2010 -0400 |
tree | bcec0a1004f413b70087e2c43097892f87f21cc3 | |
parent | e35fd6609b2fee54484d520deccb8f18bf7d38f3 [diff] |
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>