Btrfs: add support for fallocate's zero range operation
authorFilipe Manana <fdmanana@suse.com>
Wed, 25 Oct 2017 10:55:28 +0000 (11:55 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 22 Jan 2018 15:08:20 +0000 (16:08 +0100)
commitf27451f229966874a8793995b8e6b74326d125df
tree63c53610781deb47702c7b70350348c6175ea482
parentcc54ff626a56fdd7c22febd55ed24676fda8ed83
Btrfs: add support for fallocate's zero range operation

This implements support the zero range operation of fallocate. For now
at least it's as simple as possible while reusing most of the existing
fallocate and hole punching infrastructure.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/file.c