Skip to content

Commit 9f6fb0a

Browse files
committed
Revert "CA-397084 Log any user of LV at deactivate"
This reverts commit 2979937. Signed-off-by: Mark Syms <mark.syms@cloud.com>
1 parent ed981e3 commit 9f6fb0a

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

libs/sm/lvutil.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -728,13 +728,6 @@ def deactivateNoRefcount(path):
728728

729729
@lvmretry
730730
def _deactivate(path):
731-
# Records what is using the LVM path in case there is an issue.
732-
# In most cases this should be nothing.
733-
try:
734-
(rc, stdout, stderr) = util.doexec(['/usr/sbin/fuser', "-v", path])
735-
util.SMlog(f"fuser {path} => {rc} / '{stdout}' / '{stderr}'")
736-
except:
737-
pass
738731
text = cmd_lvm([CMD_LVCHANGE, "-an", path])
739732

740733

0 commit comments

Comments
 (0)