[Libguestfs] [PATCH 3/3] e2fsck-f: change the internal to use e2fsck

Richard W.M. Jones rjones at redhat.com
Fri Jan 13 15:05:19 UTC 2012


On Fri, Jan 13, 2012 at 10:55:58PM +0800, Wanlong Gao wrote:
> 
> From: Wanlong Gao <gaowanlong at cn.fujitsu.com>
> 
> Since we implement the new api e2fsck, just change the
> internal of e2fsck_f to use e2fsck now.
[...]
>  int
> +do_e2fsck_f (const char *device)
> +{
> +  return do_e2fsck (device, 1, 0);
> +}

Needs to be fixed to set optargs_bitmask.

Otherwise, it's fine.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/




More information about the Libguestfs mailing list