diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-10-11 13:23:24 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-10-11 13:37:35 +0000 |
commit | 91b2238fc8e462c02f697f0c053043a55f43c13d (patch) | |
tree | f8542392c42103dc234d31ef2a40d0c38d4b229b /resize/resize.ml | |
parent | f4a2aecd5ff4904994d75ad92b50a834d40eef17 (diff) | |
download | libguestfs-91b2238fc8e462c02f697f0c053043a55f43c13d.tar.gz libguestfs-91b2238fc8e462c02f697f0c053043a55f43c13d.tar.xz libguestfs-91b2238fc8e462c02f697f0c053043a55f43c13d.zip |
sparsify: Re-use progress bar wrapper code from virt-resize.
The code was identical -- just copied with s/resize/sparsify/.
Instead of duplicating identical code, cause the Makefile.am to use
the code from the ../resize/ directory.
Unfortunately because there are two Utils modules (which are
different), this means we had to rename those modules to Resize_utils
and Sparsify_utils respectively. So this is a rather larger change
than intended. However it's just code motion.
Diffstat (limited to 'resize/resize.ml')
-rw-r--r-- | resize/resize.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resize/resize.ml b/resize/resize.ml index c1aef1bf..d94273ab 100644 --- a/resize/resize.ml +++ b/resize/resize.ml @@ -22,7 +22,7 @@ open Resize_gettext.Gettext module G = Guestfs -open Utils +open Resize_utils (* Minimum surplus before we create an extra partition. *) let min_extra_partition = 10L *^ 1024L *^ 1024L |