ftruncate changes st_blocks, and following fallocate syscalls would return EINVAL when allocated block size is already greater than requested block size (e.g. st_blocks==8, requested blocks are 2). Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>