1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

o remove spurious log message

This commit is contained in:
Joe Thornber 2001-10-09 14:42:58 +00:00
parent 83545752cf
commit f2473d0efe

View File

@ -31,18 +31,16 @@ static struct logical_volume *_find_lv(struct volume_group *vg,
struct list_head *tmp;
struct logical_volume *lv;
struct lv_list *ll;
const char *ptr;
const char *ptr = strrchr(name, '/') + 1;
list_for_each(tmp, &vg->lvs) {
ll = list_entry(tmp, struct lv_list, list);
lv = &ll->lv;
ptr = strrchr(name, '/') + 1;
if (!strcmp(ptr, lv->name))
return lv;
}
log_info("couldn't find lv with name '%s'", name);
return NULL;
}
@ -512,4 +510,3 @@ int export_uuids(struct disk_list *dl, struct volume_group *vg)
}
return 1;
}