diff options
author | Theodore Ts'o <tytso@mit.edu> | 2016-11-27 04:32:46 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2016-12-12 00:26:08 +0300 |
commit | 3325bea5b26ac67e2521383f10e5ea0156c9a4b6 (patch) | |
tree | 10786f5a7f95b56fdf38615b197aa37f068af3f5 /fs/crypto/fscrypt_private.h | |
parent | db717d8e26c2d1b0dba3e08668a1e6a7f665adde (diff) | |
download | linux-3325bea5b26ac67e2521383f10e5ea0156c9a4b6.tar.xz |
fscrypt: rename get_crypt_info() to fscrypt_get_crypt_info()
To avoid namespace collisions, rename get_crypt_info() to
fscrypt_get_crypt_info(). The function is only used inside the
fs/crypto directory, so declare it in the new header file,
fscrypt_private.h.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'fs/crypto/fscrypt_private.h')
-rw-r--r-- | fs/crypto/fscrypt_private.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/fs/crypto/fscrypt_private.h b/fs/crypto/fscrypt_private.h new file mode 100644 index 000000000000..7c31108728e4 --- /dev/null +++ b/fs/crypto/fscrypt_private.h @@ -0,0 +1,19 @@ +/* + * fscrypt_private.h + * + * Copyright (C) 2015, Google, Inc. + * + * This contains encryption key functions. + * + * Written by Michael Halcrow, Ildar Muslukhov, and Uday Savagaonkar, 2015. + */ + +#ifndef _FSCRYPT_PRIVATE_H +#define _FSCRYPT_PRIVATE_H + +#include <linux/fscrypto.h> + +/* keyinfo.c */ +extern int fscrypt_get_crypt_info(struct inode *); + +#endif /* _FSCRYPT_PRIVATE_H */ |