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(a)redhat.com>
---
src/util/virresctrl.c | 41 ++++++++++++++---------------------------
1 file changed, 14 insertions(+), 27 deletions(-)
Reviewed-by: Pavel Hrdina <phrdina(a)redhat.com>