tests: sparse-fiemap: with root/ext3, do not create an ext4 FS
authorJim Meyering <meyering@redhat.com>
Thu, 21 Apr 2011 19:01:13 +0000 (21:01 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 21 Apr 2011 19:01:13 +0000 (21:01 +0200)
commit8c0b1de42c615a82ce7e32901ad1e4dca95b3657
tree05b7cc9d18909db96aeea7e1259d118858998733
parent223e3832eb5a9b1aadf0a69d076f40116389565c
tests: sparse-fiemap: with root/ext3, do not create an ext4 FS

* tests/cp/sparse-fiemap: When this test was run as root on an ext3
file system, (ext3 had known problems), it would trickily create and
mount a loopback ext4 file system and use that instead.  However, due
to a bug in 2.6.39-rc1..rc3, this loopback test (when run in another
loopback FS) exposed a bug with 1k-blocksize ext4 whereby non-NUL
data would be read from a hole.  For details, see this:
http://thread.gmane.org/gmane.comp.file-systems.ext4/24495
tests/cp/sparse-fiemap