diff --git a/salt/modules/mount.py b/salt/modules/mount.py index 68cfd1fc6af6..1b3d02de9fd3 100644 --- a/salt/modules/mount.py +++ b/salt/modules/mount.py @@ -63,7 +63,9 @@ def _active_mountinfo(ret): msg = 'File not readable {0}' raise CommandExecutionError(msg.format(filename)) - blkid_info = __salt__['disk.blkid']() + if 'disk.blkid' not in __context__: + __context__['disk.blkid'] = __salt__['disk.blkid']() + blkid_info = __context__['disk.blkid'] with salt.utils.files.fopen(filename) as ifile: for line in ifile: