lock_driver_sanlock: Avoid global driver variable whenever possible
lock_driver_sanlock: Avoid global driver variable whenever possible

Global variables are bad, we should avoid using them.

Signed-off-by: Michal Privoznik <83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com>

olafhering/libvirt,jfehlig/libvirt,VenkatDatta/libvirt,libvirt/libvirt,eskultety/libvirt,jfehlig/libvirt,libvirt/libvirt,zippy2/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,VenkatDatta/libvirt,zippy2/libvirt,andreabolognani/libvirt,zippy2/libvirt,datto/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,eskultety/libvirt,nertpinx/libvirt,VenkatDatta/libvirt,jfehlig/libvirt,andreabolognani/libvirt,nertpinx/libvirt,taget/libvirt,datto/libvirt,eskultety/libvirt,taget/libvirt,crobinso/libvirt,VenkatDatta/libvirt,eskultety/libvirt,datto/libvirt,zippy2/libvirt,jardasgit/libvirt,olafhering/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,crobinso/libvirt,crobinso/libvirt,VenkatDatta/libvirt,jardasgit/libvirt,nertpinx/libvirt,andreabolognani/libvirt,olafhering/libvirt,datto/libvirt,taget/libvirt,jardasgit/libvirt,jardasgit/libvirt,olafhering/libvirt,taget/libvirt,jfehlig/libvirt,crobinso/libvirt,libvirt/libvirt,taget/libvirt,eskultety/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,libvirt/libvirt,datto/libvirt,fabianfreyer/libvirt