• E
    rpc: virnetserver: Move virNetServerCheckLimits which is static up in the file · 17bc3334
    Erik Skultety 提交于
    Since virNetServerAddClient checks for the limits in order to temporarily
    suspend the services, thus not accepting any more clients, there is no reason
    why virNetServerCheckLimits, which is only responsible for re-enabling
    previously disabled services according to the limits, could not do both. To be
    able to do that however, it needs to be moved up in the file since it's static
    (and because it's just a helper and there's only one caller it should remain
     static).
    Signed-off-by: NErik Skultety <eskultet@redhat.com>
    17bc3334
virnetserver.c 31.6 KB