Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-2061 hsm: send HSM resquest to CDT
[fs/lustre-release.git]
/
lustre
/
lvfs
/
fsfilt.c
diff --git
a/lustre/lvfs/fsfilt.c
b/lustre/lvfs/fsfilt.c
index
84a9721
..
1170bf5
100644
(file)
--- a/
lustre/lvfs/fsfilt.c
+++ b/
lustre/lvfs/fsfilt.c
@@
-32,9
+32,6
@@
* Lustre is a trademark of Sun Microsystems, Inc.
*/
* Lustre is a trademark of Sun Microsystems, Inc.
*/
-#ifndef EXPORT_SYMTAB
-# define EXPORT_SYMTAB
-#endif
#define DEBUG_SUBSYSTEM S_FILTER
#include <linux/fs.h>
#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;
}
/* unlock fsfilt_types list */
return 0;
}
+EXPORT_SYMBOL(fsfilt_register_ops);
void fsfilt_unregister_ops(struct fsfilt_operations *fs_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 */
}
}
/* unlock fsfilt_types list */
}
+EXPORT_SYMBOL(fsfilt_unregister_ops);
struct fsfilt_operations *fsfilt_get_ops(const char *type)
{
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;
}
return fs_ops;
}
+EXPORT_SYMBOL(fsfilt_get_ops);
void fsfilt_put_ops(struct fsfilt_operations *fs_ops)
{
cfs_module_put(fs_ops->fs_owner);
}
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);
EXPORT_SYMBOL(fsfilt_put_ops);