Re: [PATCH 3/8] util: Don't overwrite mask in virResctrlAllocFindUnused

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

 



On Wed, Jan 31, 2018 at 10:41:41AM +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@xxxxxxxxxx>
---
src/util/virresctrl.c | 41 ++++++++++++++---------------------------
1 file changed, 14 insertions(+), 27 deletions(-)


After the last rebase I'm still hitting an issue on non-Linux, I'l send a v2,
sorry for the noise.

Attachment: signature.asc
Description: 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]
  Powered by Linux