[LTP] [PATCH] syscalls/fallocate05: Add missing FALLOC_FL_KEEP_SIZE flag

Jan Stancek jstancek@redhat.com
Tue Jun 19 14:34:58 CEST 2018


----- Original Message -----
> According to fallocate(2) manpage and kernel source code, if fallocate(2)
> only specify FALLOC_FL_PUNCH_HOLE flag, it always gets EOPNOTSUPP.  We
> should specify both FALLOC_FL_PUNCH_HOLE and FALLOC_FL_KEEP_SIZE.
> 
> Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>

Pushed.

Thanks,
Jan


More information about the ltp mailing list