Re: [PATCH] ext4: remove redundant offset check in move_extents.c/mext_check_arguments

2012-09-27 Thread Theodore Ts'o
On Mon, Jul 23, 2012 at 04:03:14PM +0800, Wang Sheng-Hui wrote: > 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 Applied, thanks. (And ap

[PATCH] ext4: remove redundant offset check in move_extents.c/mext_check_arguments

2012-07-23 Thread Wang Sheng-Hui
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 --- fs/ext4/move_extent.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/