X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Flvfs%2Ffsfilt.c;h=1170bf5b135016fa214441f97403d1b45de9b1d2;hb=40137f1d07295ee4a0bb75d2ae553c42e66295f4;hp=84a9721a43e20bf7042fe8b86b90b819f523f7f0;hpb=e3a7c58aebafce40323db54bf6056029e5af4a70;p=fs%2Flustre-release.git diff --git a/lustre/lvfs/fsfilt.c b/lustre/lvfs/fsfilt.c index 84a9721..1170bf5 100644 --- a/lustre/lvfs/fsfilt.c +++ b/lustre/lvfs/fsfilt.c @@ -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 @@ -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);