Merge "When using multipath, detach volume failure"

This commit is contained in:
Zuul 2018-08-06 18:05:51 +00:00 committed by Gerrit Code Review
commit fbaf92fb2f

View File

@ -132,7 +132,7 @@ def check_already_mounted(devpath, mountpoint):
"""
mounts = Mounter().read_mounts()
for m in mounts:
if devpath == m.device and mountpoint == m.mountpoint:
if mountpoint == m.mountpoint:
return True
return False