Re: [PATCH] hugetlbfs: fix error path in module_init

From: Alexey Dobriyan
Date: Sat Apr 28 2007 - 03:45:45 EST


On 4/28/07, Akinobu Mita <akinobu.mita@xxxxxxxxx> wrote:
init_hugetlbfs_fs() needs to unregister hugetlbfs
when kern_mount() returns error.

HUGETLBFS is bool, so __init function should panic more and
__exit function should be removed. Or someone is planning
making it tristate?
-
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/