mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
o Change the deallocation of tables to match the vmalloc changes in my
previous commit
This commit is contained in:
parent
e33e89637c
commit
ec3c205f2d
@ -153,7 +153,6 @@ void dm_table_destroy(struct dm_table *t)
|
||||
vfree(t->index[i]);
|
||||
t->index[i] = 0;
|
||||
}
|
||||
vfree(t->highs);
|
||||
|
||||
/* free the targets */
|
||||
for (i = 0; i < t->num_targets; i++) {
|
||||
@ -161,7 +160,7 @@ void dm_table_destroy(struct dm_table *t)
|
||||
if (tgt->private)
|
||||
tgt->type->dtr(t, tgt->private);
|
||||
}
|
||||
vfree(t->targets);
|
||||
vfree(t->highs);
|
||||
|
||||
kfree(t);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user