summaryrefslogtreecommitdiff
path: root/lib/misc
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2018-05-11 11:59:44 -0500
committerDavid Teigland <teigland@redhat.com>2018-05-11 12:47:56 -0500
commitbbb8040456a07a0c9076d45a8eee5e5f7fcde0ec (patch)
tree3834eda8939f55ccd91112453e799ea3c92798b8 /lib/misc
parent43620138726da124f5eb58c9347cba8b582271ed (diff)
downloadlvm2-bbb8040456a07a0c9076d45a8eee5e5f7fcde0ec.tar.gz
dev_cache: drop open_list
devices are now held open only in bcache, so drop the dev_cache list of open devices which is unused.
Diffstat (limited to 'lib/misc')
-rw-r--r--lib/misc/lvm-exec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/misc/lvm-exec.c b/lib/misc/lvm-exec.c
index 190d42665..c3858c440 100644
--- a/lib/misc/lvm-exec.c
+++ b/lib/misc/lvm-exec.c
@@ -78,7 +78,6 @@ int exec_cmd(struct cmd_context *cmd, const char *const argv[],
if (!pid) {
/* Child */
reset_locking();
- dev_close_all();
/* FIXME Fix effect of reset_locking on cache then include this */
/* destroy_toolcontext(cmd); */
/* FIXME Use execve directly */