Whamcloud - gitweb
LU-1347 lvfs: makes EXPORT_SYMBOL follows function body
[fs/lustre-release.git] / lustre / lvfs / fsfilt.c
index 84a9721..a915131 100644 (file)
@@ -81,6 +81,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 +100,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 +132,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);