summaryrefslogtreecommitdiffstats
path: root/tools/pvcreate.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2001-10-09 17:20:02 +0000
committerAlasdair Kergon <agk@redhat.com>2001-10-09 17:20:02 +0000
commit0dc2a4d6e47c1cccab4bfa1545c3f606d90a539e (patch)
tree55ddad40ce20d0be7739f7f453da3450285ca3a7 /tools/pvcreate.c
parente15559aa3cac9d804f23e9073d10453e7f26518d (diff)
downloadlvm2-0dc2a4d6e47c1cccab4bfa1545c3f606d90a539e.tar.gz
lvm2-0dc2a4d6e47c1cccab4bfa1545c3f606d90a539e.tar.xz
lvm2-0dc2a4d6e47c1cccab4bfa1545c3f606d90a539e.zip
o vgremove.
o filter devices by major.
Diffstat (limited to 'tools/pvcreate.c')
-rw-r--r--tools/pvcreate.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/pvcreate.c b/tools/pvcreate.c
index 036fb8ea..aa2d0254 100644
--- a/tools/pvcreate.c
+++ b/tools/pvcreate.c
@@ -47,11 +47,8 @@ void pvcreate_single(const char *pv_name)
int size;
struct physical_volume *pv = NULL;
- struct io_space *ios;
struct device *pv_dev;
- ios = active_ios();
-
if (!(pv_dev = dev_cache_get(pv_name))) {
log_error("Device %s not found", pv_name);
return;