summaryrefslogtreecommitdiffstats
path: root/fs/binfmt_em86.c
diff options
context:
space:
mode:
authorAmir Goldstein2011-05-10 03:40:01 +0200
committerTheodore Ts'o2011-05-10 03:40:01 +0200
commite73a347b7723757bb5fb5c502814dc205a7f496d (patch)
treed65cf4e0fe070c46bdd4a6748bab549a11e0ef0b /fs/binfmt_em86.c
parentext4: remove unneeded ext4_journal_get_undo_access (diff)
downloadkernel-qcow2-linux-e73a347b7723757bb5fb5c502814dc205a7f496d.tar.gz
kernel-qcow2-linux-e73a347b7723757bb5fb5c502814dc205a7f496d.tar.xz
kernel-qcow2-linux-e73a347b7723757bb5fb5c502814dc205a7f496d.zip
ext4: implement ext4_add_groupblocks() by freeing blocks
The old imlementation used to take grp->alloc_sem and set the GROUP_NEED_INIT flag, so that the buddy cache would be reloaded. The new implementation updates the buddy cache by freeing the added blocks and making them available for use, so there is no need to reload the buddy cache and there is no need to take grp->alloc_sem. Signed-off-by: Amir Goldstein <amir73il@users.sf.net> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/binfmt_em86.c')
0 files changed, 0 insertions, 0 deletions