4 * A storage management file system.
8 #define DEBUG_SUBSYSTEM S_SM
10 #include <linux/module.h>
11 #include <linux/kernel.h>
12 #include <linux/string.h>
13 #include <linux/slab.h>
14 #include <linux/stat.h>
15 #include <linux/unistd.h>
16 #include <linux/miscdevice.h>
17 #include <linux/lustre_idl.h>
18 #include "smfs_internal.h"
24 MODULE_AUTHOR("Peter J. Braam <braam@cs.cmu.edu>");
25 MODULE_DESCRIPTION("Smfs file system filters v0.01");
27 extern int init_smfs(void);
28 extern int cleanup_smfs(void);
29 extern int init_snap_sysctl(void);
31 static int __init smfs_init(void)
35 if ( (err = init_smfs()) ) {
36 printk("Error initializing snapfs, %d\n", err);
40 if ( (err = init_smfs_proc_sys()) ) {
41 printk("Error initializing snapfs proc sys, %d\n", err);
48 static void __exit smfs_cleanup(void)
52 module_init(smfs_init);
53 module_exit(smfs_cleanup);