git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 2.0 rc7
[linux-2.6.git]
/
drivers
/
md
/
dm-table.c
diff --git
a/drivers/md/dm-table.c
b/drivers/md/dm-table.c
index
3ef2ad4
..
18e9b99
100644
(file)
--- a/
drivers/md/dm-table.c
+++ b/
drivers/md/dm-table.c
@@
-242,7
+242,7
@@
static void free_devices(struct list_head *devices)
}
}
-void table_destroy(struct dm_table *t)
+
static
void table_destroy(struct dm_table *t)
{
unsigned int i;
@@
-455,6
+455,8
@@
static int __table_get_device(struct dm_table *t, struct dm_target *ti,
return r;
}
+ format_dev_t(dd->name, dev);
+
atomic_set(&dd->count, 0);
list_add(&dd->list, &t->devices);