~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Linux/fs/autofs/init.c

Version: ~ [ 2.4.0 ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* -*- linux-c -*- --------------------------------------------------------- *
  2  *
  3  * linux/fs/autofs/init.c
  4  *
  5  *  Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
  6  *
  7  * This file is part of the Linux kernel and is made available under
  8  * the terms of the GNU General Public License, version 2, or at your
  9  * option, any later version, incorporated herein by reference.
 10  *
 11  * ------------------------------------------------------------------------- */
 12 
 13 #include <linux/module.h>
 14 #include <linux/init.h>
 15 #include "autofs_i.h"
 16 
 17 static DECLARE_FSTYPE(autofs_fs_type, "autofs", autofs_read_super, 0);
 18 
 19 static int __init init_autofs_fs(void)
 20 {
 21         return register_filesystem(&autofs_fs_type);
 22 }
 23 
 24 static void __exit exit_autofs_fs(void)
 25 {
 26         unregister_filesystem(&autofs_fs_type);
 27 }
 28 
 29 module_init(init_autofs_fs);
 30 module_exit(exit_autofs_fs);
 31 
 32 #ifdef DEBUG
 33 void autofs_say(const char *name, int len)
 34 {
 35         printk("(%d: ", len);
 36         while ( len-- )
 37                 printk("%c", *name++);
 38         printk(")\n");
 39 }
 40 #endif
 41 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.