aboutsummaryrefslogtreecommitdiff
path: root/fs/ext4/ioctl.c
diff options
context:
space:
mode:
authorAkira Fujita <a-fujita@rs.jp.nec.com>2009-09-05 22:11:55 -0400
committerTheodore Ts'o <tytso@mit.edu>2009-09-05 22:11:55 -0400
commitdaea696dbac0e33af3cfe304efbfb8d74e0effe6 (patch)
tree35b64870a9377d1a89d2891084623bca8dd13e70 /fs/ext4/ioctl.c
parent70d5d3dcea47c16058d2b093c29e07fdf61b56ad (diff)
ext4: Remove unneeded BUG_ON() in ext4_move_extents()
The ext4_move_extents() functions checks with BUG_ON() whether the exchanged blocks count accords with request blocks count. But, if the target range (orig_start + len) includes sparse block(s), 'moved_len' (exchanged blocks count) does not agree with 'len' (request blocks count), since sparse block is not counted in 'moved_len'. This causes us to hit the BUG_ON(), even though the function succeeded. Signed-off-by: Akira Fujita <a-fujita@rs.jp.nec.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ioctl.c')
0 files changed, 0 insertions, 0 deletions