summaryrefslogtreecommitdiff
path: root/fs/ext4/migrate.c
diff options
context:
space:
mode:
authorYongqiang Yang <xiaoqiangnk@gmail.com>2011-07-27 02:24:41 (GMT)
committerTheodore Ts'o <tytso@mit.edu>2011-07-27 02:24:41 (GMT)
commit6d40bc5a7e8fc71795d131e835f38f161ed7e1b1 (patch)
treed66d509a10509bc09d8dc0ecdc4641b585c1bfa0 /fs/ext4/migrate.c
parentc3e94d1df9bdd9e2c4ba7e8f534f7925f1756f97 (diff)
downloadlinux-fsl-qoriq-6d40bc5a7e8fc71795d131e835f38f161ed7e1b1.tar.xz
ext4: simplify journal handling in setup_new_group_blocks()
This patch simplifies journal handling in setup_new_group_blocks(). In previous code, block bitmap is modified everywhere in setup_new_group_blocks(), ext4_get_write_access() in extend_or_restart_transaction() is used to guarantee that the block bitmap stays in the new handle, this makes things complicated. The previous commit changed things so that the modifications on the block bitmap are batched and done by ext4_set_bits() at the end of the for loop. This allows us to simplify things. Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/migrate.c')
0 files changed, 0 insertions, 0 deletions