Fix lvresize test on RHEL 5, by fixing guestfs_e2fsck_l.
authorRichard Jones <rjones@redhat.com>
Wed, 24 Mar 2010 23:28:14 +0000 (23:28 +0000)
committerRichard Jones <rjones@redhat.com>
Wed, 24 Mar 2010 23:28:14 +0000 (23:28 +0000)
commit00a9ae7365e6bad258bcf079a18dcae94d0853ad
treea113f1889d148db28e1217dced3e49887cb89c07
parentc4e8aa245a243b020d6b7bd832674be871a43610
Fix lvresize test on RHEL 5, by fixing guestfs_e2fsck_l.

The problem is that mkfs was making an ext2 filesystem,
which later we were checking with e4fsck.  e4fsck corrects
an "error" on the filesystem:
  /dev/VG/LV: Adding dirhash hint to filesystem.
e4fsck returns 1 (errors corrected) which we were interpreting
as an error return.
daemon/ext2.c