]> xenbits.xensource.com Git - people/dariof/libvirt.git/commit
Move loop device setup code into virfile.{c,h}
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 3 Jul 2012 14:06:27 +0000 (15:06 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 5 Jul 2012 09:46:10 +0000 (10:46 +0100)
commit9612e4b2e7dfa0de89405075fca32718e1d66203
treed562efae7705d9d3bc5253fdda52aaa7bca52bf6
parentf547e8768dbb062c155ea60fda635197cb9290f1
Move loop device setup code into virfile.{c,h}

While it is not currently used elsewhere in libvirt, the code
for finding a free loop device & associating a file with it
is not LXC specific. Move it into the viffile.{c,h} file where
potentially shared code is more commonly kept.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/libvirt_private.syms
src/lxc/lxc_controller.c
src/util/virfile.c
src/util/virfile.h