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

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