Whamcloud - gitweb
LU-2275 mdt: Avoid setting positive dispositions too early
[fs/lustre-release.git] / lustre / lvfs / fsfilt.c
index 84a9721..1170bf5 100644 (file)
@@ -32,9 +32,6 @@
  * Lustre is a trademark of Sun Microsystems, Inc.
  */
 
-#ifndef EXPORT_SYMTAB
-# define EXPORT_SYMTAB
-#endif
 #define DEBUG_SUBSYSTEM S_FILTER
 
 #include <linux/fs.h>
@@ -81,6 +78,7 @@ int fsfilt_register_ops(struct fsfilt_operations *fs_ops)
         /* unlock fsfilt_types list */
         return 0;
 }
+EXPORT_SYMBOL(fsfilt_register_ops);
 
 void fsfilt_unregister_ops(struct fsfilt_operations *fs_ops)
 {
@@ -99,6 +97,7 @@ void fsfilt_unregister_ops(struct fsfilt_operations *fs_ops)
         }
         /* unlock fsfilt_types list */
 }
+EXPORT_SYMBOL(fsfilt_unregister_ops);
 
 struct fsfilt_operations *fsfilt_get_ops(const char *type)
 {
@@ -130,14 +129,10 @@ struct fsfilt_operations *fsfilt_get_ops(const char *type)
 
         return fs_ops;
 }
+EXPORT_SYMBOL(fsfilt_get_ops);
 
 void fsfilt_put_ops(struct fsfilt_operations *fs_ops)
 {
         cfs_module_put(fs_ops->fs_owner);
 }
-
-
-EXPORT_SYMBOL(fsfilt_register_ops);
-EXPORT_SYMBOL(fsfilt_unregister_ops);
-EXPORT_SYMBOL(fsfilt_get_ops);
 EXPORT_SYMBOL(fsfilt_put_ops);