[libvirt] [PATCH v2 3/6] util: Don't overwrite mask in virResctrlAllocFindUnused

Pavel Hrdina phrdina at redhat.com
Wed Jan 31 14:29:10 UTC 2018

On Wed, Jan 31, 2018 at 02:36:58PM +0100, Martin Kletzander wrote:
> Due to confusing naming the pointer to the mask got copied which must not
> happen, so use UpdateMask instead of SetMask.  That also means we can get
> completely rid of SetMask.
> Also don't clear the free bits since it is not used again (leftover from
> previous versions).
> Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
> ---
>  src/util/virresctrl.c | 41 ++++++++++++++---------------------------
>  1 file changed, 14 insertions(+), 27 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180131/cdfd2f27/attachment-0001.sig>

More information about the libvir-list mailing list