ext4: Return exchanged blocks count to user space in failure
authorAkira Fujita <a-fujita@rs.jp.nec.com>
Sun, 6 Sep 2009 02:46:29 +0000 (22:46 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 6 Sep 2009 02:46:29 +0000 (22:46 -0400)
commit8d6669133d8cdbb7cbe0e1f0f3744e7802a84afe
treeab4799f9299037ecb41de56bc1ad0b8c946c30f0
parentdaea696dbac0e33af3cfe304efbfb8d74e0effe6
ext4: Return exchanged blocks count to user space in failure

Return exchanged blocks count (moved_len) to user space,
if ext4_move_extents() failed on the way.

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