]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 14 Dec 2009 16:06:24 +0000 (08:06 -0800)
commitde48efe24d0e6a2291dc4fe23271b5e5b16b01a7
tree11ffae77fe227ba6c5b7c0f2d8e3e6dcb2c16a9e
parent4062fc4957707493ff8d53d21c058838a8425f2a
ext4: Return exchanged blocks count to user space in failure

(cherry picked from commit 8d6669133d8cdbb7cbe0e1f0f3744e7802a84afe)

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/ext4/ioctl.c