diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-11 23:12:04 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-11 23:12:04 -0700 |
commit | 13636be4b6a6b036aaf3d9f2c8094e62d56d5cff (patch) | |
tree | e4ce293b07a6f8e9e8e6011064fb40b65bc2cdf2 /drivers/staging/lustre/lustre/libcfs/linux/linux-crypto.h | |
parent | staging: lustre: remove unneeded DECLARE_LL_PROC_PPOS_DECL macro (diff) | |
download | linux-dev-13636be4b6a6b036aaf3d9f2c8094e62d56d5cff.tar.xz linux-dev-13636be4b6a6b036aaf3d9f2c8094e62d56d5cff.zip |
staging: lustre: make include/linux/libcfs/linux/linux-crypto.h private
There are only 2 functions that are actually called from it, so move it
to the local place where it is needed, no need for it to be "global" for
the rest of lustre to see it.
Also remove the unneeded EXPORT_SYMBOL() markings for these functions,
as no one else calls them.
Cc: Andreas Dilger <andreas.dilger@intel.com>
Cc: Oleg Drokin <oleg.drokin@intel.com>
Cc: hpdd-discuss <hpdd-discuss@lists.01.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre/libcfs/linux/linux-crypto.h')
-rw-r--r-- | drivers/staging/lustre/lustre/libcfs/linux/linux-crypto.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/drivers/staging/lustre/lustre/libcfs/linux/linux-crypto.h b/drivers/staging/lustre/lustre/libcfs/linux/linux-crypto.h new file mode 100644 index 000000000000..18e8cd4d8758 --- /dev/null +++ b/drivers/staging/lustre/lustre/libcfs/linux/linux-crypto.h @@ -0,0 +1,29 @@ + /* + * GPL HEADER START + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 only, + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License version 2 for more details (a copy is included + * in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU General Public License + * version 2 along with this program; If not, see http://www.gnu.org/licenses + * + * Please visit http://www.xyratex.com/contact if you need additional + * information or have any questions. + * + * GPL HEADER END + */ + +/** + * Functions for start/stop shash adler32 algorithm. + */ +int cfs_crypto_adler32_register(void); +void cfs_crypto_adler32_unregister(void); |