If mddev->thread is non-null later, it gets used. ----------- Diffstat output ------------ ./drivers/md/multipath.c | 1 + 1 files changed, 1 insertion(+) diff ./drivers/md/multipath.c~current~ ./drivers/md/multipath.c --- ./drivers/md/multipath.c~current~ 2004-05-18 11:09:16.000000000 +1000 +++ ./drivers/md/multipath.c 2004-05-18 11:12:01.000000000 +1000 @@ -531,6 +531,7 @@ static int multipath_stop (mddev_t *mdde multipath_conf_t *conf = mddev_to_conf(mddev); md_unregister_thread(mddev->thread); + mddev->thread = NULL; mempool_destroy(conf->pool); kfree(conf->multipaths); kfree(conf); - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html