summaryrefslogtreecommitdiffstats
path: root/fs/ext4/xattr.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2010-05-17 02:00:00 +0200
committerTheodore Ts'o <tytso@mit.edu>2010-05-17 02:00:00 +0200
commit2ed886852adfcb070bf350e66a0da0d98b2f3ab5 (patch)
treebcec0a1004f413b70087e2c43097892f87f21cc3 /fs/ext4/xattr.c
parentext4: Add new abstraction ext4_map_blocks() underneath ext4_get_blocks() (diff)
downloadlinux-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 '')
0 files changed, 0 insertions, 0 deletions