summaryrefslogtreecommitdiffstats
path: root/sys-utils/fallocate.c
diff options
context:
space:
mode:
authorKarel Zak2018-07-03 13:51:51 +0200
committerKarel Zak2018-07-03 13:51:51 +0200
commit562adaed911db581fe01664c07a27184e27087c3 (patch)
tree14db42c59024edf018e2656f6a2f49d757b7c98b /sys-utils/fallocate.c
parentdocs: update TODO (diff)
downloadkernel-qcow2-util-linux-562adaed911db581fe01664c07a27184e27087c3.tar.gz
kernel-qcow2-util-linux-562adaed911db581fe01664c07a27184e27087c3.tar.xz
kernel-qcow2-util-linux-562adaed911db581fe01664c07a27184e27087c3.zip
fallocate: add man page note about --collapse-range granularity
Reported-by: Radka Skvarilova <rskvaril@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/fallocate.c')
-rw-r--r--sys-utils/fallocate.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys-utils/fallocate.c b/sys-utils/fallocate.c
index c6bed63ef..c97e63d4b 100644
--- a/sys-utils/fallocate.c
+++ b/sys-utils/fallocate.c
@@ -121,6 +121,9 @@ static loff_t cvtnum(char *s)
static void xfallocate(int fd, int mode, off_t offset, off_t length)
{
int error;
+
+fprintf(stderr, "KZAK>>> %d\n", mode);
+
#ifdef HAVE_FALLOCATE
error = fallocate(fd, mode, offset, length);
#else