Ext4: fail if we try to use hole punch
authorJosef Bacik <josef@redhat.com>
Thu, 18 Nov 2010 01:46:18 +0000 (20:46 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 13 Jan 2011 01:16:44 +0000 (20:16 -0500)
commitd6dc8462f471f7bbb49c42c147bf84de0c977099
tree64624b26b2c2f551e2b579013d149c51c0716583
parentdb47fef2cd9aab76ab976e8b45a06a1b3ad0e3e4
Ext4: fail if we try to use hole punch

Ext4 doesn't have the ability to punch holes yet, so make sure we return
EOPNOTSUPP if we try to use hole punching through fallocate.  This support can
be added later.  Thanks,

Acked-by: Jan Kara <jack@suse.cz>
Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ext4/extents.c