xfstests: don't assume that falloc_punch implies falloc in test 255
authorTheodore Ts'o <tytso@mit.edu>
Tue, 5 Mar 2013 17:59:42 +0000 (17:59 +0000)
committerRich Johnston <rjohnston@sgi.com>
Tue, 5 Mar 2013 19:02:27 +0000 (13:02 -0600)
commit864688d368d6781c3f6d60bc55b5e3591953e462
tree5d99f894bf4a94dedd36883a3e5b191490082266
parenteba3a5206cd7f8df73d6e6dbf2bb0afca677fca8
xfstests: don't assume that falloc_punch implies falloc in test 255

As of Linux 3.9-rc1, ext4 will support the punch operation on file
systems using indirect blocks, but it can not support the fallocate
operation (since there is no way to mark a block as uninitialized
using indirect block scheme).  This caused test 255 to fail, since it
only used _require_xfS_io_falloc_punch assuming that all file systems
which supported punch can also support fallocate.  Fix this.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Rich Johnston <rjohnston@sgi.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
255