Re: [2.6 patch] kill fatfs_syms.c

From: Christoph Hellwig
Date: Sat Oct 30 2004 - 01:46:45 EST


> --- /dev/null 2004-08-23 02:01:39.000000000 +0200
> +++ linux-2.6.10-rc1-mm2-full/fs/fat/init.c 2004-10-30 02:08:11.000000000 +0200
> @@ -0,0 +1,33 @@
> +/*
> + * linux/fs/fat/init.c
> + *
> + * init/exit functions for FAT
> + *
> + */
> +
> +#include <linux/module.h>
> +#include <linux/init.h>
> +
> +int __init fat_cache_init(void);
> +void __exit fat_cache_destroy(void);
> +int __init fat_init_inodecache(void);
> +void __exit fat_destroy_inodecache(void);
> +
> +static int __init init_fat_fs(void)
> +{
> + int ret;
> +
> + ret = fat_cache_init();
> + if (ret < 0)
> + return ret;
> + return fat_init_inodecache();
> +}
> +
> +static void __exit exit_fat_fs(void)
> +{
> + fat_cache_destroy();
> + fat_destroy_inodecache();
> +}
> +
> +module_init(init_fat_fs)
> +module_exit(exit_fat_fs)


just move this to inode.c

-
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/