Re: [libvirt] [PATCH 1/3] lock_driver_sanlock: Avoid global driver variable whenever possible

2016-09-28 Thread John Ferlan
On 09/15/2016 10:35 AM, Michal Privoznik wrote: > Global variables are bad, we should avoid using them. > > Signed-off-by: Michal Privoznik > --- > src/locking/lock_driver_sanlock.c | 42 > --- > 1 file changed, 26 insertions(+), 16

[libvirt] [PATCH 1/3] lock_driver_sanlock: Avoid global driver variable whenever possible

2016-09-15 Thread Michal Privoznik
Global variables are bad, we should avoid using them. Signed-off-by: Michal Privoznik --- src/locking/lock_driver_sanlock.c | 42 --- 1 file changed, 26 insertions(+), 16 deletions(-) diff --git a/src/locking/lock_driver_sanlock.c