Fixes for the converter
authorYan <yanzheng@21cn.com>
Tue, 22 Jan 2008 16:32:03 +0000 (11:32 -0500)
committerDavid Woodhouse <dwmw2@hera.kernel.org>
Tue, 22 Jan 2008 16:32:03 +0000 (11:32 -0500)
commit033cd664516345101a012141f74c141b571e7899
treec5259d97ac2ad86d9ece596b512e7b84a3d55986
parent8bbb396c03c3123176e9cec7e950eb85d390d0d6
Fixes for the converter

Hello,

This patch fixes two newly found bugs in the converter.  The important
one is in create_ext2_image, sub-volume root directory's size not
properly updated after creating the ext2 image file. The other one is
a small bug in xattr support codes.  In addition to the fixes,  this
patch moves the 'if mounted' check to main() function.

Regards
YZ
---
convert.c