diff options
author | 2009-11-24 10:28:48 -0500 | |
---|---|---|
committer | 2009-11-24 10:28:48 -0500 | |
commit | 446aaa6e7e993b38a6f21c6acfa68f3f1af3dbe3 (patch) | |
tree | dedc46c0d80a20061c0df463dcc6260aef394e2d /fs/jbd2/commit.c | |
parent | ext4: Fix double-free of blocks with EXT4_IOC_MOVE_EXT (diff) | |
download | linux-dev-446aaa6e7e993b38a6f21c6acfa68f3f1af3dbe3.tar.xz linux-dev-446aaa6e7e993b38a6f21c6acfa68f3f1af3dbe3.zip |
ext4: initialize moved_len before calling ext4_move_extents()
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>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions