Add rollback support for the converter
authorYan <yanzheng@21cn.com>
Tue, 8 Jan 2008 20:56:32 +0000 (15:56 -0500)
committerDavid Woodhouse <dwmw2@hera.kernel.org>
Tue, 8 Jan 2008 20:56:32 +0000 (15:56 -0500)
commitd1b729ac2be8b5be50d6fa262f5cfaf41bbf128a
treee07dcb35c84a4f8640f2e48cb20323f7641ca33e
parentb86a82717235dbd1e716bebd1154fe7be1a1736b
Add rollback support for the converter

This patch adds rollback support for the converter,  the converter can
roll back a conversion if the image file haven't been modified.  In
addition,  I rearrange some codes in convert.c and add a few comments.
convert.c
disk-io.c
utils.c