devices/lvm2.lv: initialize fullname member

This gets set in `open` and used in `close` but if the former
fails the latter will explode if we do not properly initialize
it. Also, we should always properly initialize things.
This commit is contained in:
Christian Kellner 2021-11-22 20:22:52 +01:00 committed by Tom Gundersen
parent 7e2bb524a4
commit dbd8035881

View file

@ -56,6 +56,7 @@ class LVService(devices.DeviceService):
def __init__(self, args):
super().__init__(args)
self.fullname = None
self.target = None
@staticmethod