ext4: remove redundant offset check in mext_check_arguments()
authorWang Sheng-Hui <shhuiw@gmail.com>
Thu, 27 Sep 2012 12:00:01 +0000 (08:00 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 27 Sep 2012 12:00:01 +0000 (08:00 -0400)
commitcbb4ee830e0057f8d60b4e0a8c4b6daa6cdd28d7
tree08a92472e8ee9131a3ce462b2545872625a75cca
parentc25f9bc6143f4cb4dc31d2ad7a6fe4e4005fc414
ext4: remove redundant offset check in mext_check_arguments()

In the check code above, if orig_start != donor_start, we would
return -EINVAL. So here, orig_start should be equal with donor_start.
Remove the redundant check here.

Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/move_extent.c