aboutsummaryrefslogtreecommitdiff
path: root/fs/bad_inode.c
diff options
context:
space:
mode:
authorKazuya Mio <k-mio@sx.jp.nec.com>2009-11-24 10:28:48 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-14 09:45:08 -0800
commit3369cbb6bedae7e8c7600b33803a8e69b2a6e99f (patch)
tree59a13ec2e8667eac1457c45ca7785adb8d54a92e /fs/bad_inode.c
parent74920c74ad3802bc81f5ccbb737d351073dd3ff9 (diff)
ext4: initialize moved_len before calling ext4_move_extents()
(cherry picked from commit 446aaa6e7e993b38a6f21c6acfa68f3f1af3dbe3) The move_extent.moved_len is used to pass back the number of exchanged blocks count to user space. Currently the caller must clear this field; but we spend more code space checking for this requirement than simply zeroing the field ourselves, so let's just make life easier for everyone all around. Signed-off-by: Kazuya Mio <k-mio@sx.jp.nec.com> 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>
Diffstat (limited to 'fs/bad_inode.c')
0 files changed, 0 insertions, 0 deletions