[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] [PATCH 2/3] mllib: expose disk decrypt functionalities



On Mon, Sep 19, 2016 at 07:12:45PM +0200, Pino Toscano wrote:
> +let inspect_decrypt g =
> +  (* Note we pass original 'g' even though it is not used by the
> +   * callee.  This is so that 'g' is kept as a root on the stack, and
> +   * so cannot be garbage collected while we are in the c_edit_file

I'm guessing you mean "the c_inspect_decrypt function."

> +   * function.
> +   *)
> +  c_inspect_decrypt g#ocaml_handle (Guestfs.c_pointer g#ocaml_handle)

ACK with that small comment fix.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]