I was running down a i_size problem and was missing the failure until
the next iteration of fsx operations because we do the file size check
_before_ the closeopen operation. Move it after the closeopen operation
so we can catch problems where the file gets messed up on disk.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
- if (sizechecks && testcalls > simulatedopcount)
- check_size();
if (closeopen)
docloseopen();
if (closeopen)
docloseopen();
+ if (sizechecks && testcalls > simulatedopcount)
+ check_size();