Re: [PATCH] util: cgroup: Fix build on non-cgroup platforms

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

 



On 07/08/2014 09:40 AM, Peter Krempa wrote:
> Commit 48f44510098cead629ede9a49ea4e840a28ccca introduced a helper
> fucntion to convert cgroup device mode to string. The function was only

s/fucntion/function/

> conditionally compliled on platforms that support cgroup. This broke the

s/compliled/compiled/

> build when attempting to export the symbol:
> 
>   CCLD     libvirt.la
>   Cannot export virCgroupGetDevicePermsString: symbol not defined
> 
> Move the function out of the ifdef, as it doesn't really depend on the
> cgroup code being present.
> ---
>  src/util/vircgroup.c | 76 ++++++++++++++++++++++++++--------------------------
>  1 file changed, 38 insertions(+), 38 deletions(-)

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]