Re: [PATCH] ocfs2: fix module_init error handling

From: Mark Fasheh
Date: Tue Mar 06 2007 - 13:53:54 EST


On Wed, Mar 07, 2007 at 01:38:17AM +0900, Akinobu Mita wrote:
> OK. There are three problems (these are not likely to happen)
>
> - There is no error handling when register_filesystem() fails
> (several slab caches, debugfs directory, and workqueue will not be cleaned)
>
> - workqueue will not be cleaned if debugfs_create_dir() returns error.
>
> - kmem_cache_destroy() with NULL oops will happen if
> ocfs2_free_mem_caches(), exit_ocfs2_uptodate_cache(),
> or exit_ocfs2_extent_maps() return error.

Ok, both those patches are in ocfs2.git now.
--Mark

--
Mark Fasheh
Senior Software Developer, Oracle
mark.fasheh@xxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/