]> git.kernelconcepts.de Git - mv-sheeva.git/commit
Ocfs2: handle hole punching via fallocate properly
authorJosef Bacik <josef@redhat.com>
Thu, 18 Nov 2010 01:46:17 +0000 (20:46 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 13 Jan 2011 01:16:43 +0000 (20:16 -0500)
commitdb47fef2cd9aab76ab976e8b45a06a1b3ad0e3e4
tree6a1527c3a7ae8992714e0fcddd0da35b1e040eb5
parentc25d246715b87ad37e69e7abd1a0fed781423fa2
Ocfs2: handle hole punching via fallocate properly

This patch just makes ocfs2 use its UNRESERVP ioctl when we get the hole punch
flag in fallocate.  I didn't test it, but it seems simple enough.  Thanks,

Acked-by: Jan Kara <jack@suse.cz>
Acked-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ocfs2/file.c