mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
Make virCgroupIsValidMachine static
The virCgroupIsValidMachine does not need to be called from outside the cgroups file now, so make it static. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
a45b99ead9
commit
525c9d5a49
@ -1186,7 +1186,6 @@ virCgroupGetMemSwapHardLimit;
|
||||
virCgroupGetMemSwapUsage;
|
||||
virCgroupHasController;
|
||||
virCgroupIsolateMount;
|
||||
virCgroupIsValidMachineGroup;
|
||||
virCgroupKill;
|
||||
virCgroupKillPainfully;
|
||||
virCgroupKillRecursive;
|
||||
|
@ -95,7 +95,8 @@ bool virCgroupAvailable(void)
|
||||
return ret;
|
||||
}
|
||||
|
||||
bool virCgroupIsValidMachineGroup(virCgroupPtr group,
|
||||
static bool
|
||||
virCgroupIsValidMachineGroup(virCgroupPtr group,
|
||||
const char *name,
|
||||
const char *drivername)
|
||||
{
|
||||
|
@ -48,11 +48,6 @@ VIR_ENUM_DECL(virCgroupController);
|
||||
|
||||
bool virCgroupAvailable(void);
|
||||
|
||||
bool virCgroupIsValidMachineGroup(virCgroupPtr group,
|
||||
const char *machinename,
|
||||
const char *drivername);
|
||||
|
||||
|
||||
int virCgroupNewPartition(const char *path,
|
||||
bool create,
|
||||
int controllers,
|
||||
|
Loading…
x
Reference in New Issue
Block a user