[libvirt] [PATCH 1/3] Pull code for doing a bind mount into separate method
Eric Blake
eblake at redhat.com
Fri Jul 22 13:56:13 UTC 2011
On 07/22/2011 07:41 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange"<berrange at redhat.com>
>
> The bind mount setup is about to get more complicated.
> To avoid having to deal with several copies, pull it
> out into a separate lxcContainerMountFSBind method.
>
> Also pull out the iteration over container filesystems,
> so that it will be easier to drop in support for non-bind
> mount filesystems
>
> * src/lxc/lxc_container.c: Pull bind mount code out into
> lxcContainerMountFSBind
> ---
> src/libvirt_private.syms | 2 +
> src/lxc/lxc_container.c | 118 ++++++++++++++++++++++++++++-----------------
> 2 files changed, 75 insertions(+), 45 deletions(-)
>
ACK.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
More information about the libvir-list
mailing list