ext4: move_extent_per_page() cleanup
authorAkira Fujita <a-fujita@rs.jp.nec.com>
Tue, 24 Nov 2009 15:31:56 +0000 (10:31 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 24 Nov 2009 15:31:56 +0000 (10:31 -0500)
commitac48b0a1d068887141581bea8285de5fcab182b0
tree8eee9eed14c49e5fd9e29bd7f4a68e3002999234
parent446aaa6e7e993b38a6f21c6acfa68f3f1af3dbe3
ext4: move_extent_per_page() cleanup

Integrate duplicate lines (acquire/release semaphore and invalidate
extent cache in move_extent_per_page()) into mext_replace_branches(),
to reduce source and object code size.

Signed-off-by: Akira Fujita <a-fujita@rs.jp.nec.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/move_extent.c