fsstress: fix incorrect if condition check for collapse range mode
authorNamjae Jeon <namjae.jeon@samsung.com>
Tue, 13 May 2014 05:26:59 +0000 (15:26 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 13 May 2014 05:26:59 +0000 (15:26 +1000)
commit995a459e7a0dc2389ed706af2cb25bc547065ff5
treec636dadb0a309bdfa755104af69bf96cf2281137
parentec08236ff7849a13d8eb189ae91b9a65dc71002d
fsstress: fix incorrect if condition check for collapse range mode

There is if condition to be block aligned for off and len of Collapse range.
But off and len for all fallocate opearion can be aligned by incorrect
if condition check.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Ashish Sangwan <a.sangwan@samsung.com>
Reviewed-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
ltp/fsstress.c