]> git.ipfire.org Git - thirdparty/libvirt.git/commit
locking: Use bit shift for flag values not constant values.
authorJohn Ferlan <jferlan@redhat.com>
Fri, 4 Mar 2016 14:35:19 +0000 (09:35 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 7 Mar 2016 20:48:19 +0000 (15:48 -0500)
commit0e3e00a1838d8e0f94001f1e83dc477023c8ea8c
tree6a68846583e2e293009a5146b6f18898e95aa312
parent47b70b8793a4a73e8a7741f5b14ff79b75d2e2fc
locking: Use bit shift for flag values not constant values.

So far it hasn't bitten us, but if the next value wasn't 4, then
the logic used to check flag bits would have issues.
src/locking/lock_driver_lockd.h