Skip to content

Commit feed825

Browse files
committed
fscrypt: rename keyinfo.c to keysetup.c
Rename keyinfo.c to keysetup.c since this better describes what the file does (sets up the key), and it matches the new file keysetup_v1.c. Reviewed-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Eric Biggers <ebiggers@google.com>
1 parent 0109ce7 commit feed825

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎fs/crypto/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ obj-$(CONFIG_FS_ENCRYPTION) += fscrypto.o
44
fscrypto-y := crypto.o \
55
fname.o \
66
hooks.o \
7-
keyinfo.o \
7+
keysetup.o \
88
keysetup_v1.o \
99
policy.o
1010

‎fs/crypto/fscrypt_private.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ extern bool fscrypt_fname_encrypted_size(const struct inode *inode,
156156
u32 orig_len, u32 max_len,
157157
u32 *encrypted_len_ret);
158158

159-
/* keyinfo.c */
159+
/* keysetup.c */
160160

161161
struct fscrypt_mode {
162162
const char *friendly_name;

‎include/linux/fscrypt.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ extern int fscrypt_ioctl_get_policy(struct file *, void __user *);
138138
extern int fscrypt_has_permitted_context(struct inode *, struct inode *);
139139
extern int fscrypt_inherit_context(struct inode *, struct inode *,
140140
void *, bool);
141-
/* keyinfo.c */
141+
/* keysetup.c */
142142
extern int fscrypt_get_encryption_info(struct inode *);
143143
extern void fscrypt_put_encryption_info(struct inode *);
144144
extern void fscrypt_free_inode(struct inode *);
@@ -367,7 +367,7 @@ static inline int fscrypt_inherit_context(struct inode *parent,
367367
return -EOPNOTSUPP;
368368
}
369369

370-
/* keyinfo.c */
370+
/* keysetup.c */
371371
static inline int fscrypt_get_encryption_info(struct inode *inode)
372372
{
373373
return -EOPNOTSUPP;

0 commit comments

Comments
 (0)