lkml.org 
[lkml]   [2004]   [Oct]   [30]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSat, 30 Oct 2004 07:39:25 +0100
FromChristoph Hellwig <>
SubjectRe: [2.6 patch] kill fatfs_syms.c
> --- /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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:07    [from the cache]
©2003-2008