a mounted lv should not be considered to be available

This commit is contained in:
Michael Hudson-Doyle 2019-05-28 10:26:25 +12:00
parent fd7a56a8b5
commit 85a7668926
1 changed files with 3 additions and 1 deletions

View File

@ -835,7 +835,9 @@ class LVM_LogicalVolume(_Formattable):
def available(self):
if self._constructed_device is not None:
return False
return True
if self._fs is None:
return True
return self._fs._available()
@property
def flag(self):