]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite58fae2a8ffc17950a07b5efe146d8d77d29158a
tree08a92472e8ee9131a3ce462b2545872625a75cca
parent5870b657a9efe121bc4b1752bc3fb5a27357b9e7
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