root/fs/msdos/msdosfs_syms.c

/* [previous][next][first][last][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. init_msdos_fs

   1 /*
   2  * linux/fs/msdos/msdosfs_syms.c
   3  *
   4  * Exported kernel symbols for the MS-DOS filesystem.
   5  * These symbols are used by umsdos.
   6  */
   7 
   8 #include <linux/module.h>
   9 
  10 #include <linux/msdos_fs.h>
  11 
  12 static struct symbol_table msdos_syms = {
  13 #include <linux/symtab_begin.h>
  14         /*
  15          * Support for umsdos fs
  16          *
  17          * These symbols are _always_ exported, in case someone
  18          * wants to install the umsdos module later.
  19          */
  20         X(msdos_create),
  21         X(msdos_lookup),
  22         X(msdos_mkdir),
  23         X(msdos_read_inode),
  24         X(msdos_rename),
  25         X(msdos_rmdir),
  26         X(msdos_unlink),
  27         X(msdos_unlink_umsdos),
  28 #include <linux/symtab_end.h>
  29 };                                           
  30 
  31 struct file_system_type msdos_fs_type = {
  32         msdos_read_super, "msdos", 1, NULL
  33 };
  34 
  35 
  36 int init_msdos_fs(void)
     /* [previous][next][first][last][top][bottom][index][help] */
  37 {
  38         int status;
  39 
  40         if ((status = register_filesystem(&msdos_fs_type)) == 0)
  41                 status = register_symtab(&msdos_syms);
  42         return status;
  43 }
  44 

/* [previous][next][first][last][top][bottom][index][help] */