]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fallocate: add FALLOC_FL_ZERO_RANGE support
authorLukas Czerner <lczerner@redhat.com>
Wed, 2 Apr 2014 11:31:05 +0000 (13:31 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 18 Apr 2014 10:49:42 +0000 (12:49 +0200)
commit1fd4f609ee65be0f376ed28322fc3593026d39e4
tree2ded346929415bd4cc1f4d6be500b2505c6eae61
parent83cc932d7412cb9d23bf9f06a9a54c8566e1a788
fallocate: add FALLOC_FL_ZERO_RANGE support

Recent Linux kernel supports FALLOC_FL_ZERO_RANGE in fallocate(2).
This patch adds FALLOC_FL_ZERO_RANGE support to fallocate utility,
by introducing a new option -z|--zero-range.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
sys-utils/fallocate.1
sys-utils/fallocate.c