[PATCH 06/10] AXFS: axfs_super.c

Sven Wegener sven.wegener at stealer.net
Thu Aug 21 07:27:57 EDT 2008


On Wed, 20 Aug 2008, Jared Hulbert wrote:

> The many different devices AXFS can mount to and the various
> dual device mounting schemes are supported here.
> 
> Signed-off-by: Jared Hulbert <jaredeh at gmail.com>
> ---
> +static int __init init_axfs_fs(void)
> +{
> +	axfs_uncompress_init();

one more thing, axfs_uncompress_init() can fail

> +	return register_filesystem(&axfs_fs_type);
> +}
> +
> +static void __exit exit_axfs_fs(void)
> +{
> +	axfs_uncompress_exit();
> +	unregister_filesystem(&axfs_fs_type);
> +}
> +
> +module_init(init_axfs_fs);
> +module_exit(exit_axfs_fs);
> +MODULE_LICENSE("GPL");



More information about the linux-mtd mailing list